|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk.WindowsDesktop"> |
2 | 2 |
|
3 | | - <PropertyGroup> |
4 | | - <OutputType>WinExe</OutputType> |
5 | | - <TargetFrameworks>net6.0-windows;net462</TargetFrameworks> |
6 | | - <UseWindowsForms>true</UseWindowsForms> |
7 | | - <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
8 | | - <GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources> |
9 | | - </PropertyGroup> |
| 3 | + <PropertyGroup> |
| 4 | + <OutputType>WinExe</OutputType> |
| 5 | + <TargetFrameworks>net6.0-windows;net462</TargetFrameworks> |
| 6 | + <UseWindowsForms>true</UseWindowsForms> |
| 7 | + <GenerateAssemblyInfo>false</GenerateAssemblyInfo> |
| 8 | + <GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources> |
| 9 | + </PropertyGroup> |
10 | 10 |
|
11 | | - <ItemGroup> |
12 | | - <ProjectReference Include="..\..\Source\Svg.csproj" /> |
13 | | - </ItemGroup> |
| 11 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| 12 | + <NoWarn>$(NoWarn);CS0618;NETSDK1138</NoWarn> |
| 13 | + </PropertyGroup> |
| 14 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 15 | + <NoWarn>$(NoWarn);CS1591;CS0618;NETSDK1138</NoWarn> |
| 16 | + </PropertyGroup> |
14 | 17 |
|
15 | | - <ItemGroup> |
16 | | - <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4"> |
17 | | - <PrivateAssets>all</PrivateAssets> |
18 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
19 | | - </PackageReference> |
20 | | - <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" /> |
21 | | - <PackageReference Include="System.Resources.Extensions" Version="5.0.0" /> |
22 | | - </ItemGroup> |
| 18 | + <ItemGroup> |
| 19 | + <ProjectReference Include="..\..\Source\Svg.csproj" /> |
| 20 | + </ItemGroup> |
| 21 | + |
| 22 | + <ItemGroup> |
| 23 | + <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.4"> |
| 24 | + <PrivateAssets>all</PrivateAssets> |
| 25 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 26 | + </PackageReference> |
| 27 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.4.0" /> |
| 28 | + <PackageReference Include="System.Resources.Extensions" Version="5.0.0" /> |
| 29 | + </ItemGroup> |
23 | 30 |
|
24 | 31 | </Project> |
0 commit comments