forked from dotnet/winforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
System.Windows.Forms.Design.csproj
104 lines (96 loc) · 4.51 KB
/
System.Windows.Forms.Design.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>System.Windows.Forms.Design</AssemblyName>
<CLSCompliant>true</CLSCompliant>
<Deterministic>true</Deterministic>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<!--the obsolete usage in public surface can't be removed-->
<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;IL2046;IL2057;IL2067;IL2070;IL2072;IL2075;IL2094;IL2111</NoWarn>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<UsePublicApiAnalyzers>true</UsePublicApiAnalyzers>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\SR.resx">
<GenerateSource>true</GenerateSource>
<Namespace>System</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\MaskDesignerDialog.resx">
<Namespace>System.Windows.Forms.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\CollectionEditor.resx">
<!-- Unnecessary because CollectionEditor.resx only contains properties; not string constants -->
<!--GenerateSource>true</GenerateSource-->
<Namespace>System.ComponentModel.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\BorderSidesEditor.resx">
<!-- Unnecessary because BorderSidesEditor.resx only contains properties; not string constants -->
<!--GenerateSource>true</GenerateSource-->
<Namespace>System.Windows.Forms.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\FormatControl.resx">
<Namespace>System.Windows.Forms.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\ShortcutKeysEditor.resx">
<!-- Unnecessary because ShortcutKeysEditor.resx only contains properties; not string constants -->
<!--GenerateSource>true</GenerateSource-->
<Namespace>System.Windows.Forms.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\StringCollectionEditor.resx">
<Namespace>System.Windows.Forms.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Update="Resources\LinkAreaEditor.resx">
<Namespace>System.Windows.Forms.Design</Namespace>
</EmbeddedResource>
<EmbeddedResource Include="Resources\colordlg.data">
<Link>colordlg.data</Link>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\System.Windows.Forms.PrivateSourceGenerators\src\System.Windows.Forms.PrivateSourceGenerators.csproj"
ReferenceOutputAssembly="false"
OutputItemType="Analyzer" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.CodeDom" Version="$(SystemCodeDomPackageVersion)" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj" />
<ProjectReference Include="..\..\System.Windows.Forms\src\System.Windows.Forms.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\Common\src\RTLAwareMessageBox.cs" Link="Common\RTLAwareMessageBox.cs" />
</ItemGroup>
<!-- Embedded Resources are globbed based on their location. -->
<ItemGroup>
<EmbeddedResource Include="Resources\System\ComponentModel\Design\*.ico">
<LogicalName>System.ComponentModel.Design.%(FileName)</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Resources\System\WinForms\Design\Behavior\*.ico">
<LogicalName>System.Windows.Forms.Design.Behavior.%(FileName)</LogicalName>
</EmbeddedResource>
<EmbeddedResource Include="Resources\System\WinForms\Design\*.ico">
<LogicalName>System.Windows.Forms.Design.%(FileName)</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="Resources\MaskDesignerDialog.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>MaskDesignerDialog.resx</DependentUpon>
</Compile>
<Compile Update="System\Windows\Forms\Design\MaskedTextBoxTextEditorDropDown.cs" />
<Compile Update="Resources\LinkAreaEditor.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>LinkAreaEditor.resx</DependentUpon>
</Compile>
<Compile Update="System\Windows\Forms\Design\FormatControl.cs" />
<Compile Update="System\Windows\Forms\Design\FormatStringDialog.cs" />
</ItemGroup>
</Project>