|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
2 | 3 | <PropertyGroup> |
3 | | - <TargetFramework>net6.0</TargetFramework> |
| 4 | + <TargetFrameworks>net9.0;net48</TargetFrameworks> |
| 5 | + |
| 6 | + <!-- Enable the MSTest runner, this is an opt-in feature --> |
| 7 | + <EnableMSTestRunner>true</EnableMSTestRunner> |
| 8 | + <!-- We need to produce an executable and not a DLL --> |
| 9 | + <OutputType Condition="'$(TargetFramework)' == 'net9.0'">Exe"</OutputType> |
| 10 | + |
| 11 | + <IsPackable>false</IsPackable> |
| 12 | + <IsTestProject>true</IsTestProject> |
| 13 | + <SignAssembly>True</SignAssembly> |
| 14 | + <AssemblyOriginatorKeyFile>../ACadSharp.snk</AssemblyOriginatorKeyFile> |
4 | 15 | </PropertyGroup> |
5 | 16 |
|
6 | 17 | <ItemGroup> |
7 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" /> |
8 | | - <PackageReference Include="xunit" Version="2.4.1" /> |
9 | | - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> |
10 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 18 | + <PackageReference Include="coverlet.msbuild" Version="6.0.4"> |
11 | 19 | <PrivateAssets>all</PrivateAssets> |
| 20 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
12 | 21 | </PackageReference> |
13 | | - <PackageReference Include="coverlet.collector" Version="3.1.0"> |
| 22 | + <PackageReference Include="coverlet.collector" Version="6.0.4"> |
| 23 | + <PrivateAssets>all</PrivateAssets> |
14 | 24 | <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 25 | + </PackageReference> |
| 26 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" /> |
| 27 | + <PackageReference Include="xunit" Version="2.9.3" /> |
| 28 | + <PackageReference Include="xunit.extensibility.core" Version="2.*" /> |
| 29 | + <PackageReference Include="xunit.runner.visualstudio" Version="3.0.2"> |
15 | 30 | <PrivateAssets>all</PrivateAssets> |
| 31 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
16 | 32 | </PackageReference> |
17 | 33 | </ItemGroup> |
18 | 34 |
|
|
0 commit comments