Skip to content

Commit

Permalink
only include bcl nuget on netfx
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenaw committed Oct 29, 2023
1 parent 911581d commit 5f9f316
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NUnitFramework/testdata/nunit.testdata.csproj
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
</ItemGroup>

Expand Down
5 changes: 4 additions & 1 deletion src/NUnitFramework/tests/nunit.framework.tests.csproj
Expand Up @@ -12,9 +12,12 @@
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="NUnit.Analyzers" Version="3.6.1" />
Expand Down

0 comments on commit 5f9f316

Please sign in to comment.