Skip to content

Commit

Permalink
Merge pull request nunit#1562 from nunit/issue-1324
Browse files Browse the repository at this point in the history
Use dependency model v8 for .net 8 agent
  • Loading branch information
CharliePoole authored Dec 27, 2024
2 parents e7d76b5 + b133b4e commit ed398bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/NUnitEngine/nunit.engine.core/nunit.engine.core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@
<Reference Include="System.Web" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' or '$(TargetFramework)'=='net5.0' or '$(TargetFramework)'=='net6.0' or '$(TargetFramework)'=='net7.0' or '$(TargetFramework)'=='net8.0'">
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.1' or '$(TargetFramework)'=='net5.0' or '$(TargetFramework)'=='net6.0' or '$(TargetFramework)'=='net7.0'">
<PackageReference Include="Microsoft.Win32.Registry" Version="4.3.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="3.1.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net8.0'">
<PackageReference Include="Microsoft.Win32.Registry" Version="4.3.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="8.0.2" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="TestCentric.Metadata" Version="2.0.0" />
</ItemGroup>
Expand Down

0 comments on commit ed398bf

Please sign in to comment.