|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | | - <PropertyGroup Condition="'$(OS)' == 'Windows_NT'"> |
4 | | - <TargetFrameworks >net9.0;net462</TargetFrameworks> |
5 | | - </PropertyGroup> |
6 | | - |
7 | | - <PropertyGroup Condition="'$(OS)' != 'Windows_NT'"> |
8 | | - <TargetFramework >net9.0</TargetFramework> |
9 | | - </PropertyGroup> |
10 | | - |
11 | 3 | <PropertyGroup> |
12 | | - <NoWarn>$(NoWarn);1591</NoWarn> |
| 4 | + <TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net9.0;net462</TargetFrameworks> |
| 5 | + <TargetFramework Condition="'$(OS)' != 'Windows_NT'">net9.0</TargetFramework> |
| 6 | + <NoWarn>$(NoWarn);Proj0028</NoWarn> |
| 7 | + <IsTestProject>true</IsTestProject> |
13 | 8 | <!--Test with LogPropertyIgnoreAttribute requires it.--> |
14 | 9 | <DefineConstants>$(DefineConstants);CODE_GENERATION_ATTRIBUTES</DefineConstants> |
15 | 10 | </PropertyGroup> |
16 | 11 |
|
17 | 12 | <ItemGroup> |
18 | | - <PackageReference Include="Microsoft.Extensions.Telemetry.Abstractions" Version="9.0.0" /> |
19 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" PrivateAssets="all" /> |
20 | | - <PackageReference Include="NUnit" Version="4.3.1" /> |
21 | | - <PackageReference Include="NUnit3TestAdapter" Version="4.6.0" PrivateAssets="all" /> |
22 | | - <PackageReference Include="Serilog" Version="4.2.0" /> |
23 | | - <PackageReference Include="Shouldly" Version="4.3.0" /> |
24 | | - <PackageReference Include="PublicApiGenerator" Version="11.3.0" /> |
25 | | - <PackageReference Include="coverlet.msbuild" Version="6.0.2" PrivateAssets="all" /> |
26 | | - <PackageReference Include="MarkdownSnippets.MsBuild" Version="27.0.2" PrivateAssets="all" /> |
| 13 | + <PackageReference Include="Microsoft.Extensions.Telemetry.Abstractions" /> |
| 14 | + <PackageReference Include="NUnit" /> |
| 15 | + <PackageReference Include="PublicApiGenerator" /> |
| 16 | + <PackageReference Include="Serilog" /> |
| 17 | + <PackageReference Include="Shouldly" /> |
| 18 | + </ItemGroup> |
| 19 | + |
| 20 | + <ItemGroup Label="Build tools"> |
| 21 | + <PackageReference Include="coverlet.msbuild" PrivateAssets="all" /> |
| 22 | + <PackageReference Include="MarkdownSnippets.MsBuild" PrivateAssets="all" /> |
| 23 | + <PackageReference Include="Microsoft.NET.Test.Sdk" PrivateAssets="all" /> |
| 24 | + <PackageReference Include="NUnit3TestAdapter" PrivateAssets="all" /> |
| 25 | + </ItemGroup> |
| 26 | + |
| 27 | + <ItemGroup Label="Analyzers"> |
| 28 | + <PackageReference Include="NUnit.Analyzers" PrivateAssets="all" /> |
27 | 29 | </ItemGroup> |
28 | 30 |
|
29 | 31 | <ItemGroup> |
|
0 commit comments