Skip to content

Commit c227d3c

Browse files
committed
FIx tests
1 parent 2519224 commit c227d3c

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

.nuget/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
<package id="Microsoft.Web.SkipStrongNames" version="1.0.0" />
44
<package id="Microsoft.Web.StyleCop" version="1.0.0" />
55
<package id="StyleCop" version="5.0.0" />
6+
<package id="xunit.runner.msbuild" version="2.4.2" targetFramework="net452" />
67
</packages>

eng/templates/default-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
inputs:
4747
packageType: runtime
4848
version: '2.1.x'
49+
- task: UseDotNet@2
50+
displayName: Get .NET 6.0 runtime
51+
inputs:
52+
packageType: runtime
53+
version: '6.0.x'
4954

5055
- script: .\build.cmd EnableSkipStrongNames
5156
displayName: Enable SkipStrongNames

tools/WebStack.testing.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
This is a separate MSBuild file so that we can survive upgrades of the xunit NuGet package
44
and also still work with NuGet Package Restore.
55
-->
6+
<Import Project="..\packages\xunit.runner.msbuild.2.4.2\**\xunit.runner.msbuild.props"/>
67

78
<Target Name="TestAssembly" Returns="@(_ExitCodes)">
89
<xunit Assemblies="$(TestAssembly)"

0 commit comments

Comments
 (0)