|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | | - <PropertyGroup> |
4 | | - <TargetFrameworks>net46;netcoreapp3.1</TargetFrameworks> |
5 | | - <AssemblyName>STPTests</AssemblyName> |
6 | | - <RootNamespace>STPTests</RootNamespace> |
7 | | - <DefineConstants>TRACE;</DefineConstants> |
8 | | - <Configurations>Debug;Release;Publish</Configurations> |
9 | | - </PropertyGroup> |
10 | | - |
11 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net46|AnyCPU'"> |
12 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
13 | | - </PropertyGroup> |
14 | | - |
15 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Publish|net46|AnyCPU'"> |
16 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
17 | | - <SignAssembly>true</SignAssembly> |
18 | | - <AssemblyOriginatorKeyFile>..\publish\Keys\STP.snk</AssemblyOriginatorKeyFile> |
19 | | - </PropertyGroup> |
20 | | - |
21 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net46|AnyCPU'"> |
22 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
23 | | - </PropertyGroup> |
24 | | - |
25 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netcoreapp3.1|AnyCPU'"> |
26 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
27 | | - </PropertyGroup> |
28 | | - |
29 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Publish|netcoreapp3.1|AnyCPU'"> |
30 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
31 | | - <SignAssembly>true</SignAssembly> |
32 | | - <AssemblyOriginatorKeyFile>..\publish\Keys\STP.snk</AssemblyOriginatorKeyFile> |
33 | | - </PropertyGroup> |
34 | | - |
35 | | - <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'"> |
36 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
37 | | - </PropertyGroup> |
38 | | - |
39 | | - <ItemGroup> |
40 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> |
41 | | - <PackageReference Include="NUnit" Version="3.12.0" /> |
42 | | - <PackageReference Include="NUnit3TestAdapter" Version="3.16.1"> |
43 | | - <PrivateAssets>all</PrivateAssets> |
44 | | - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
45 | | - </PackageReference> |
46 | | - </ItemGroup> |
47 | | - |
48 | | - <ItemGroup Condition="'$(TargetFramework)|$(Platform)'=='netcoreapp3.1|AnyCPU'"> |
49 | | - <Compile Remove="TestCancel.Abort.cs" /> |
50 | | - </ItemGroup> |
51 | | - |
52 | | - <ItemGroup> |
53 | | - <ProjectReference Include="..\SmartThreadPool\SmartThreadPool.csproj" /> |
54 | | - </ItemGroup> |
55 | | - |
56 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net46;netcoreapp3.1;net5.0</TargetFrameworks> |
| 5 | + <AssemblyName>STPTests</AssemblyName> |
| 6 | + <RootNamespace>STPTests</RootNamespace> |
| 7 | + <DefineConstants>TRACE;</DefineConstants> |
| 8 | + <Configurations>Debug;Release;Publish</Configurations> |
| 9 | + </PropertyGroup> |
| 10 | + |
| 11 | + <PropertyGroup Condition="'$(TargetFramework)'=='net46'"> |
| 12 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 13 | + </PropertyGroup> |
| 14 | + |
| 15 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Publish|net46|AnyCPU'"> |
| 16 | + <SignAssembly>true</SignAssembly> |
| 17 | + <AssemblyOriginatorKeyFile>..\publish\Keys\STP.snk</AssemblyOriginatorKeyFile> |
| 18 | + </PropertyGroup> |
| 19 | + |
| 20 | + <PropertyGroup Condition="'$(TargetFramework)'=='netcoreapp3.1'"> |
| 21 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 22 | + </PropertyGroup> |
| 23 | + |
| 24 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Publish|netcoreapp3.1|AnyCPU'"> |
| 25 | + <SignAssembly>true</SignAssembly> |
| 26 | + <AssemblyOriginatorKeyFile>..\publish\Keys\STP.snk</AssemblyOriginatorKeyFile> |
| 27 | + </PropertyGroup> |
| 28 | + |
| 29 | + <PropertyGroup Condition="'$(TargetFramework)'=='net5.0'"> |
| 30 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 31 | + </PropertyGroup> |
| 32 | + |
| 33 | + <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Publish|net5.0|AnyCPU'"> |
| 34 | + <SignAssembly>true</SignAssembly> |
| 35 | + <AssemblyOriginatorKeyFile>..\publish\Keys\STP.snk</AssemblyOriginatorKeyFile> |
| 36 | + </PropertyGroup> |
| 37 | + |
| 38 | + <ItemGroup> |
| 39 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" /> |
| 40 | + <PackageReference Include="NUnit" Version="3.12.0" /> |
| 41 | + <PackageReference Include="NUnit3TestAdapter" Version="3.16.1"> |
| 42 | + <PrivateAssets>all</PrivateAssets> |
| 43 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 44 | + </PackageReference> |
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <ItemGroup Condition="'$(TargetFramework)|$(Platform)'=='netcoreapp3.1|AnyCPU'"> |
| 48 | + <Compile Remove="TestCancel.Abort.cs" /> |
| 49 | + </ItemGroup> |
| 50 | + |
| 51 | + <ItemGroup Condition="'$(TargetFramework)|$(Platform)'=='net5.0|AnyCPU'"> |
| 52 | + <Compile Remove="TestCancel.Abort.cs" /> |
| 53 | + </ItemGroup> |
| 54 | + |
| 55 | + <ItemGroup> |
| 56 | + <ProjectReference Include="..\SmartThreadPool\SmartThreadPool.csproj" /> |
| 57 | + </ItemGroup> |
| 58 | + |
| 59 | +</Project> |
0 commit comments