Skip to content

Commit 552a5bf

Browse files
committed
Rollback xunit runner to avoid delay-signed assembly load failures
See xunit/xunit#3130
1 parent 3375b97 commit 552a5bf

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.github/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"matchPackageNames": ["xunit*"],
1313
"groupName": "xunit"
1414
},
15+
{
16+
"matchPackageNames": ["xunit.runner.visualstudio"],
17+
"allowedVersions": "<3.0"
18+
},
1519
{
1620
"matchDatasources": ["dotnet-version", "docker"],
1721
"matchDepNames": ["dotnet-sdk", "mcr.microsoft.com/dotnet/sdk"],

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
<ItemGroup Label="Library.Template">
4747
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
4848
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
49-
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.1" />
50-
<PackageVersion Include="xunit" Version="2.9.1" />
49+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
50+
<PackageVersion Include="xunit" Version="2.9.3" />
5151
</ItemGroup>
5252
<ItemGroup>
5353
<GlobalPackageReference Include="Microsoft.CodeAnalysis.ResxSourceGenerator" Version="$(CodeAnalysisAnalyzerVersion)" />

test/IsolatedTestHost/App.config

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<configuration>
33
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
7+
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
8+
</dependentAssembly>
9+
</assemblyBinding>
410
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
511
<dependentAssembly>
612
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
@@ -10,13 +16,13 @@
1016
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1117
<dependentAssembly>
1218
<assemblyIdentity name="xunit.core" publicKeyToken="8d05b1bb7a6fdb6c" culture="neutral" />
13-
<bindingRedirect oldVersion="0.0.0.0-2.6.3.0" newVersion="2.6.3.0" />
19+
<bindingRedirect oldVersion="0.0.0.0-2.9.3.0" newVersion="2.9.3.0" />
1420
</dependentAssembly>
1521
</assemblyBinding>
1622
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
1723
<dependentAssembly>
1824
<assemblyIdentity name="xunit.execution.desktop" publicKeyToken="8d05b1bb7a6fdb6c" culture="neutral" />
19-
<bindingRedirect oldVersion="0.0.0.0-2.6.3.0" newVersion="2.6.3.0" />
25+
<bindingRedirect oldVersion="0.0.0.0-2.9.2.0" newVersion="2.9.2.0" />
2026
</dependentAssembly>
2127
</assemblyBinding>
2228
</runtime>

0 commit comments

Comments
 (0)