Skip to content

Commit

Permalink
Fix the tests in VS (#22700)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored May 29, 2024
1 parent 5ebf770 commit 33d16c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@
<MicrosoftNETTestSdkPackageVersion>17.6.0</MicrosoftNETTestSdkPackageVersion>
<XunitPackageVersion>2.6.6</XunitPackageVersion>
<XunitRunnerVisualStudioPackageVersion>2.8.0</XunitRunnerVisualStudioPackageVersion>
<XunitExtensibilityExecutionPackageVersion>2.6.6</XunitExtensibilityExecutionPackageVersion>
<XunitAssertPackageVersion>2.6.6</XunitAssertPackageVersion>
<XUnitAnalyzersPackageVersion>1.10.0</XUnitAnalyzersPackageVersion>
<XUnitAnalyzersPackageVersion>1.13.0</XUnitAnalyzersPackageVersion>
<XunitAbstractionsPackageVersion>2.0.3</XunitAbstractionsPackageVersion>
<NSubstitutePackageVersion>5.1.0</NSubstitutePackageVersion>
<CoverletCollectorPackageVersion>6.0.0</CoverletCollectorPackageVersion>
Expand Down
4 changes: 4 additions & 0 deletions src/Microsoft.Maui.TestUtils.DeviceTests.Runners.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
<AdditionalFiles Include="@(MauiSplashScreen)" IsMauiSplashScreen="True" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="xunit.runner.visualstudio" Version="$(XunitRunnerVisualStudioPackageVersion)" ExcludeAssets="all" />
</ItemGroup>

</Project>
2 changes: 2 additions & 0 deletions src/TestUtils/src/DeviceTests/TestUtils.DeviceTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@

<ItemGroup>
<PackageReference Include="xunit" Version="$(XunitPackageVersion)" />
<PackageReference Include="xunit.assert" Version="$(XunitAssertPackageVersion)" />
<PackageReference Include="xunit.runner.utility" Version="$(XunitPackageVersion)" />
<PackageReference Include="xunit.extensibility.execution" Version="$(XunitExtensibilityExecutionPackageVersion)" />
<PackageReference Include="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="1.0.0-prerelease.21558.2" />
</ItemGroup>

Expand Down

0 comments on commit 33d16c0

Please sign in to comment.