Skip to content

Commit

Permalink
fix: sonar scanner fails with catastrophic failure: System.TypeLoadEx…
Browse files Browse the repository at this point in the history
…ception: Could not load type of field 'Xunit.Runner.VisualStudio.VsExecutionSink:recorder' (4)

See microsoft/vstest#2469
  • Loading branch information
skwasjer committed May 13, 2022
1 parent 5574bc0 commit 7213565
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

<ItemGroup Condition="'$(IsTestProject)' == 'true'">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="17.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down

0 comments on commit 7213565

Please sign in to comment.