forked from dotnet/winforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
System.Windows.Forms.csproj
88 lines (77 loc) · 4.12 KB
/
System.Windows.Forms.csproj
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CLSCompliant>true</CLSCompliant>
<EnablePreviewFeatures>True</EnablePreviewFeatures>
<GenerateRequiresPreviewFeaturesAttribute>False</GenerateRequiresPreviewFeaturesAttribute>
<Nullable>enable</Nullable>
<NoWarn>$(NoWarn);618</NoWarn>
<!--
IL Trim warnings which should be removed in order to make WinForms trimmable
See https://github.com/dotnet/winforms/issues/4649
-->
<NoWarn>$(NoWarn);IL2026;IL2050;IL2057;IL2062;IL2067;IL2070;IL2072;IL2075;IL2077;IL2080;IL2092;IL2093;IL2094;IL2096;IL2111</NoWarn>
<Win32Manifest>Resources\System\Windows\Forms\XPThemes.manifest</Win32Manifest>
<Deterministic>true</Deterministic>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<UsePublicApiAnalyzers>true</UsePublicApiAnalyzers>
</PropertyGroup>
<ItemGroup>
<None Remove="Resources\System\Windows\Forms\XPThemes.manifest" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\System.Windows.Forms.PrivateSourceGenerators\src\System.Windows.Forms.PrivateSourceGenerators.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Accessibility\src\Accessibility.ilproj" />
<ProjectReference Include="..\..\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="$(MicrosoftWin32SystemEventsPackageVersion)" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerPackageVersion)" />
<PackageReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonPackageVersion)" />
<PackageReference Include="System.Resources.Extensions" Version="$(SystemResourcesExtensionsPackageVersion)" />
<PackageReference Include="System.Windows.Extensions" Version="$(SystemWindowsExtensionsPackageVersion)" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="$(SystemRuntimeCompilerServicesUnsafePackageVersion)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\Common\src\Obsoletions.cs" Link="Common\Obsoletions.cs" />
<Compile Include="..\..\Common\src\RTLAwareMessageBox.cs" Link="Common\RTLAwareMessageBox.cs" />
<Compile Include="..\..\Common\src\TraceSwitchExtensions.cs" Link="Common\TraceSwitchExtensions.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\SR.resx">
<GenerateSource>true</GenerateSource>
<Namespace>System</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\System\Windows\Forms\mdiwindowdialog.resx">
<LogicalName>System.Windows.Forms.MdiWindowDialog.resources</LogicalName>
</EmbeddedResource>
<EmbeddedResource Update="Resources\System\Windows\Forms\PrintPreviewDialog.resx">
<LogicalName>System.Windows.Forms.PrintPreviewDialog.resources</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="ILLink.Substitutions.xml">
<LogicalName>ILLink.Substitutions.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
<!-- Embedded Resources are globbed based on their location. -->
<ItemGroup>
<EmbeddedResource Include="Resources\System\Windows\Forms\**\*.ico;">
<LogicalName>$([System.String]::Copy('%(RelativeDir)').Replace("Resources\","").Replace("\",".").TrimEnd('.')).%(FileName)</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Resources\System\Windows\Forms\*.cur">
<LogicalName>System.Windows.Forms.%(FileName).cur</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\System\Windows\Forms\XPThemes.manifest">
<LogicalName>System.Windows.Forms.XPThemes.manifest</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup Condition="Exists('comctl32.dll')">
<None Update="comctl32.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>