010dee679f
Large changeset adding documentation, themes, converters and wiring between UI and services. Key changes: - Rewrote .gitignore to standardize build, IDE, OS and project-specific ignores. - Added comprehensive documentation: ADVANCED_CPU_FEATURES.md, API_REFERENCE.md, ARCHITECTURE_GUIDE.md, DEVELOPER_GUIDE.md, GAME_BOOST_VALIDATION.md, CLAUDE.md, PROJECT_STRUCTURE.md, UI_STYLE_GUIDE.md, TRADEMARK.md. - Added theme resources (Themes/FluentLight.xaml, Themes/FluentDark.xaml) and merged FluentLight into App.xaml resource dictionary. - Added NullToBoolConverter and registered it in App.xaml. - Enabled a DEBUG-only console test mode in App.xaml.cs (--test flag) and guarded AllocConsole with #if DEBUG. - Added new service/support files (AtomicFileWriter, StoragePaths, ThemeService) and numerous updates across Services (CpuTopologyService, CoreMaskService, PowerPlanService, ProcessMonitorManagerService, ProcessService, NotificationService, SystemTrayService, SystemTweaksService, EnhancedLoggingService, etc.). - Updated many ViewModels and Views to support new functionality (CPU topology, power plan and game-boost features) and tests (Tests/TestRunner.cs). - Added build-release.ps1 and various project metadata updates. Overall this commit introduces documentation, theming, new converters and test/debug support, plus extensive service and UI wiring for CPU topology, process monitoring, power plans and game boost features.
74 lines
3.0 KiB
XML
74 lines
3.0 KiB
XML
<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>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<ApplicationIcon>ico.ico</ApplicationIcon>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<SelfContained>true</SelfContained>
|
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
|
<PublishTrimmed>false</PublishTrimmed>
|
|
<TrimMode>link</TrimMode>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<NoWarn>CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034</NoWarn>
|
|
<Version>1.0.0</Version>
|
|
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
|
<FileVersion>1.0.0.0</FileVersion>
|
|
<InformationalVersion>1.0.0</InformationalVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
|
|
<PackageReference Include="System.Drawing.Common" Version="9.0.7" />
|
|
<PackageReference Include="System.Management" Version="8.0.0" />
|
|
<PackageReference Include="System.ServiceProcess.ServiceController" Version="9.0.7" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Resource Include="ico.ico" />
|
|
</ItemGroup>
|
|
|
|
<!-- Include bundled power plans in build output -->
|
|
<ItemGroup>
|
|
<Content Include="Powerplans\**\*.pow">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
|
|
<!-- Ensure XAML for ProcessPowerPlanAssociationView generates InitializeComponent -->
|
|
<ItemGroup>
|
|
<Page Update="Views/ProcessPowerPlanAssociationView.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
</ItemGroup>
|
|
|
|
<!-- Exclude upstream CPUSetSetter reference files from this project build -->
|
|
<ItemGroup>
|
|
<Compile Remove="CPUSetSetter-main\**\*.cs" />
|
|
<Page Remove="CPUSetSetter-main\**\*.xaml" />
|
|
<Resource Remove="CPUSetSetter-main\**\*.*" />
|
|
<None Remove="CPUSetSetter-main\**\*.*" />
|
|
<!-- Remove Activity Logs screen -->
|
|
<Compile Remove="ViewModels\LogViewerViewModel.cs" />
|
|
<Compile Remove="Views\LogViewerView.xaml.cs" />
|
|
<Page Remove="Views\LogViewerView.xaml" />
|
|
<!-- Remove optional Game Boost feature from build -->
|
|
<Compile Remove="Services\GameBoostService.cs" />
|
|
<Compile Remove="Services\IGameBoostService.cs" />
|
|
<Compile Remove="Services\GameDetectionService.cs" />
|
|
<Compile Remove="Services\IGameDetectionService.cs" />
|
|
<!-- Remove Game Boost-specific integration test from build -->
|
|
<Compile Remove="Tests\GameBoostIntegrationTest.cs" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|