diff options
Diffstat (limited to 'crypto/test/BouncyCastle.Crypto.Tests.csproj')
-rw-r--r-- | crypto/test/BouncyCastle.Crypto.Tests.csproj | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/crypto/test/BouncyCastle.Crypto.Tests.csproj b/crypto/test/BouncyCastle.Crypto.Tests.csproj index 1b752ad5c..3c9b88328 100644 --- a/crypto/test/BouncyCastle.Crypto.Tests.csproj +++ b/crypto/test/BouncyCastle.Crypto.Tests.csproj @@ -1,7 +1,7 @@ <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> - <TargetFrameworks>net6.0;netcoreapp2.1;net462</TargetFrameworks> + <TargetFrameworks>net6.0;netcoreapp3.1;net472;net462</TargetFrameworks> <IsPackable>false</IsPackable> <AssemblyOriginatorKeyFile>..\..\BouncyCastle.snk</AssemblyOriginatorKeyFile> <SignAssembly>true</SignAssembly> @@ -9,11 +9,11 @@ <NoWarn>1591</NoWarn> </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> + <PropertyGroup Condition="'$(Configuration)'=='Debug'"> <DefineConstants>DEBUG;TRACE</DefineConstants> </PropertyGroup> - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> + <PropertyGroup Condition="'$(Configuration)'=='Release'"> <DefineConstants>DEBUG;TRACE</DefineConstants> </PropertyGroup> @@ -23,10 +23,16 @@ </ItemGroup> <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" /> + <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3"> + <PrivateAssets>all</PrivateAssets> + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> + </PackageReference> <PackageReference Include="NUnit" Version="3.13.3" /> <PackageReference Include="NUnit3TestAdapter" Version="4.2.1" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\src\BouncyCastle.Crypto.csproj" /> + <ProjectReference Include="..\src\BouncyCastle.Crypto.csproj"> + <SetTargetFramework Condition="'$(TargetFramework)' == 'net472'">TargetFramework=netstandard2.0</SetTargetFramework> + </ProjectReference> </ItemGroup> </Project> |