-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathColorChooser.csproj
More file actions
52 lines (46 loc) · 1.87 KB
/
ColorChooser.csproj
File metadata and controls
52 lines (46 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<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>
<EnableDefaultItems>true</EnableDefaultItems>
<EnablePriGeneration>false</EnablePriGeneration>
<Platforms>x64</Platforms>
<!-- Assembly metadata -->
<AssemblyTitle>Color Chooser</AssemblyTitle>
<AssemblyDescription>A comprehensive color picker and code generator tool</AssemblyDescription>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<Copyright>Copyright © 2024</Copyright>
<ApplicationIcon>AppIcon.ico</ApplicationIcon>
</PropertyGroup>
<!-- Self-contained deployment settings (only applied during publish) -->
<PropertyGroup Condition="'$(PublishSingleFile)' == 'true'">
<SelfContained>true</SelfContained>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
</PropertyGroup>
<ItemGroup>
<None Remove="AppIcon.ico" />
</ItemGroup>
<ItemGroup>
<Content Include="AppIcon.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="8.0.8" />
</ItemGroup>
<!-- Ensure WinForms and WPF assemblies are preserved during trimming -->
<ItemGroup Condition="'$(PublishTrimmed)' == 'true'">
<TrimmerRootAssembly Include="System.Windows.Forms" />
<TrimmerRootAssembly Include="PresentationFramework" />
<TrimmerRootAssembly Include="PresentationCore" />
<TrimmerRootAssembly Include="WindowsBase" />
<TrimmerRootAssembly Include="System.Drawing.Common" />
</ItemGroup>
<ItemGroup>
<Resource Include="AppIcon.ico" />
</ItemGroup>
</Project>