Initial commit to new repository
This commit is contained in:
148
src/AxCopilot/AxCopilot.csproj
Normal file
148
src/AxCopilot/AxCopilot.csproj
Normal file
@@ -0,0 +1,148 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWPF>true</UseWPF>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<RootNamespace>AxCopilot</RootNamespace>
|
||||
<AssemblyName>AxCopilot</AssemblyName>
|
||||
<ApplicationIcon>Assets\icon.ico</ApplicationIcon>
|
||||
<!--
|
||||
★ 버전 관리 규칙 ★
|
||||
이 <Version> 값 하나만 변경하면 앱 전체에 자동 반영됩니다:
|
||||
- 설정 창 하단 버전 표시 (SettingsWindow.xaml.cs → SetVersionText())
|
||||
- Windows 속성 탭 파일 버전 / 제품 버전
|
||||
- DEVELOPMENT.md 변경 이력은 수동으로 함께 업데이트하세요.
|
||||
설정 스키마 버전(마이그레이션)은 Services/SettingsService.cs → CurrentSettingsVersion 을 별도로 관리합니다.
|
||||
-->
|
||||
<Version>1.7.2</Version>
|
||||
<Company>AX</Company>
|
||||
<Product>AX Copilot</Product>
|
||||
<Description>AI 기반 업무 자동화 런처 & 코파일럿</Description>
|
||||
<!-- ScreenCaptureHandler의 LockBits 포인터 연산에 필요 -->
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
||||
<!-- 배포: build.bat에서 self-contained / framework-dependent 두 종류로 publish -->
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
|
||||
<!-- ─── 디컴파일 방지 ─────────────────────────────────────────────── -->
|
||||
<!-- 디버그 심볼 제거 (Release) -->
|
||||
<DebugType Condition="'$(Configuration)'=='Release'">none</DebugType>
|
||||
<DebugSymbols Condition="'$(Configuration)'=='Release'">false</DebugSymbols>
|
||||
<!-- 임베디드 소스 제거 -->
|
||||
<EmbedAllSources>false</EmbedAllSources>
|
||||
<!-- Suppress source link -->
|
||||
<EnableSourceLink>false</EnableSourceLink>
|
||||
<DeterministicSourcePaths>false</DeterministicSourcePaths>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Release 빌드 시 추가 난독화 설정 -->
|
||||
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||||
<!-- 사용하지 않는 멤버 제거 (IL trimming) -->
|
||||
<PublishTrimmed>false</PublishTrimmed>
|
||||
<!-- PDB 제거 -->
|
||||
<CopyOutputSymbolsToPublishDirectory>false</CopyOutputSymbolsToPublishDirectory>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- UseWindowsForms의 암묵적 using(System.Windows.Forms)이 WPF의
|
||||
System.Windows.Input과 충돌(KeyEventArgs 모호성)하므로 전역 제거.
|
||||
System.Drawing도 전역 제거: System.Windows.Media의 Color/ColorConverter/FontFamily와
|
||||
모호한 참조 충돌 방지. Drawing 타입이 필요한 파일에서만 명시적 using으로 추가. -->
|
||||
<ItemGroup>
|
||||
<Using Remove="System.Windows.Forms" />
|
||||
<Using Remove="System.Drawing" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AxCopilot.SDK\AxCopilot.SDK.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- 클립보드 히스토리 DPAPI 암호화 (Windows 전용, 외부 네트워크 통신 없음) -->
|
||||
<!-- Windows 서비스 관리 (ServiceHandler — 로컬 전용, 외부 네트워크 통신 없음) -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="DocumentFormat.OpenXml" Version="3.2.0" />
|
||||
<PackageReference Include="Markdig" Version="0.37.0" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="8.0.0" />
|
||||
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2903.40" />
|
||||
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
|
||||
<PackageReference Include="System.ServiceProcess.ServiceController" Version="8.0.1" />
|
||||
<PackageReference Include="UglyToad.PdfPig" Version="1.7.0-custom-5" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Assets -->
|
||||
<ItemGroup>
|
||||
<!-- 가이드 원본 HTML: 편집용. 출력에 복사하지 않음 (암호화 버전 사용) -->
|
||||
<None Include="Assets\AX Copilot 사용가이드.htm" />
|
||||
<None Include="Assets\AX Copilot 개발자가이드.htm" />
|
||||
<!-- 암호화된 가이드: 빌드 출력에 복사 (앱 내장 뷰어로 복호화) -->
|
||||
<Content Include="Assets\guide_user.enc">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Assets\guide_dev.enc">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<!-- 아이콘: 앱 내장 리소스 + 출력에도 복사 (트레이용) -->
|
||||
<Resource Include="Assets\icon.ico" />
|
||||
<None Update="Assets\icon.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<!-- about.json: 빌드 시 exe에 내장되는 리소스. 런타임 파일 수정 불가. -->
|
||||
<Resource Include="Assets\about.json" />
|
||||
<!-- 격려/명언 문구: 빌드 시 내장. 인터넷 연결 불필요. -->
|
||||
<Resource Include="Assets\Quotes\motivational.json" />
|
||||
<Resource Include="Assets\Quotes\famous.json" />
|
||||
<Resource Include="Assets\Quotes\display_semiconductor.json" />
|
||||
<Resource Include="Assets\Quotes\it_ai.json" />
|
||||
<Resource Include="Assets\Quotes\science.json" />
|
||||
<Resource Include="Assets\Quotes\history.json" />
|
||||
<Resource Include="Assets\Quotes\today_events.json" />
|
||||
<Resource Include="Assets\Quotes\english.json" />
|
||||
<Resource Include="Assets\Quotes\movies.json" />
|
||||
<Resource Include="Assets\Quotes\greetings.json" />
|
||||
<!-- 대화 주제 프리셋: 9종 시스템 프롬프트 (빌드 시 내장) -->
|
||||
<EmbeddedResource Include="Assets\Presets\*.json" />
|
||||
<!-- 마스코트 이미지: 내장 리소스 (EXE에 포함됨, 교체 시 재빌드 필요) -->
|
||||
<Resource Include="Assets\mascot.png" Condition="Exists('Assets\mascot.png')" />
|
||||
<Resource Include="Assets\mascot.jpg" Condition="Exists('Assets\mascot.jpg')" />
|
||||
<Resource Include="Assets\mascot.webp" Condition="Exists('Assets\mascot.webp')" />
|
||||
<!-- 검색 엔진 아이콘: 빌드 출력에 복사 (사내망에서 외부 favicon 다운로드 불가 대응) -->
|
||||
<Content Include="Assets\SearchEngines\*.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<!-- 시스템 프롬프트: 빌드 출력에 복사 (동적 로딩) -->
|
||||
<Content Include="Assets\system_prompt.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>system_prompt.txt</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- 내장 스킬 파일: 빌드 출력 skills/ 폴더에 복사 -->
|
||||
<ItemGroup>
|
||||
<Content Include="skills\*.skill.md">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Link>skills\%(Filename)%(Extension)</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- 테마 리소스 딕셔너리 -->
|
||||
<ItemGroup>
|
||||
<Resource Include="Themes\Dark.xaml" />
|
||||
<Resource Include="Themes\Light.xaml" />
|
||||
<Resource Include="Themes\OLED.xaml" />
|
||||
<Resource Include="Themes\Nord.xaml" />
|
||||
<Resource Include="Themes\Monokai.xaml" />
|
||||
<Resource Include="Themes\Catppuccin.xaml" />
|
||||
<Resource Include="Themes\Sepia.xaml" />
|
||||
<Resource Include="Themes\Alfred.xaml" />
|
||||
<Resource Include="Themes\AlfredLight.xaml" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- 단위 테스트 프로젝트에서 internal 멤버 접근 허용 -->
|
||||
<ItemGroup>
|
||||
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
||||
<_Parameter1>AxCopilot.Tests</_Parameter1>
|
||||
</AssemblyAttribute>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user