Files
AX-Copilot-Codex/src/AxCopilot/AxCopilot.csproj
lacvet 0336904258 AX Commander 비교본 런처 기능 대량 이식
변경 목적: Agent Compare 아래 비교본의 개발 문서와 런처 소스를 기준으로 현재 AX Commander에 빠져 있던 신규 런처 기능을 동일한 흐름으로 옮겨, 비교본 수준의 기능 폭을 현재 제품에 반영했습니다.

핵심 수정사항: 비교본의 신규 런처 핸들러 다수를 src/AxCopilot/Handlers로 이식하고 App.xaml.cs 등록 흐름에 연결했습니다. 빠른 링크, 파일 태그, 알림 센터, 포모도로, 파일 브라우저, 핫키 관리, OCR, 세션/스케줄/매크로, Git/정규식/네트워크/압축/해시/UUID/JWT/QR 등 AX Commander 기능을 추가했습니다.

핵심 수정사항: 신규 기능이 실제 동작하도록 AppSettings 확장, SchedulerService/FileTagService/NotificationCenterService/IconCacheService/UrlTemplateEngine/PomodoroService 추가, 배치 이름변경/세션/스케줄/매크로 편집 창 추가, NotificationService와 Symbols 보강, QR/OCR용 csproj 의존성과 Windows 타겟 프레임워크를 반영했습니다.

문서 반영: README.md와 docs/DEVELOPMENT.md에 비교본 기반 런처 기능 이식 이력과 검증 결과를 업데이트했습니다.

검증 결과: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ 실행 기준 경고 0개, 오류 0개를 확인했습니다.
2026-04-05 00:59:45 +09:00

151 lines
7.3 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.17763.0</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>0.7.3</Version>
<Company>AX</Company>
<Product>AX Copilot</Product>
<Description>AI 기반 업무 자동화 런처 &amp; 코파일럿</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="QRCoder" Version="1.6.0" />
<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>