Skip to content

Commit 3850afa

Browse files
authored
Revert "Update xUnit.v3 to support MTP tests (#9261)" (#9336)
This reverts commit 0c5232d. This broke the azdo builds with: ``` You must install or update .NET to run this application. App: /mnt/vss/_work/1/s/artifacts/bin/Aspire.Templates.Tests/Release/net8.0/Aspire.Templates.Tests Architecture: x64 Framework: 'Microsoft.NETCore.App', version '8.0.0' (x64) .NET location: /usr/lib/dotnet The following frameworks were found: 6.0.36 at [/usr/lib/dotnet/shared/Microsoft.NETCore.App] Learn about framework resolution: https://aka.ms/dotnet/app-launch-failed To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0&arch=x64&rid=ubuntu.22.04-x64 /mnt/vss/_work/1/s/tests/Directory.Build.targets(39,5): error MSB3073: The command ""/mnt/vss/_work/1/s/artifacts/bin/Aspire.Templates.Tests/Release/net8.0/Aspire.Templates.Tests" --filter-not-trait category=failing --list-tests" exited with code 150. [/mnt/vss/_work/1/s/tests/Aspire.Templates.Tests/Aspire.Templates.Tests.csproj] ##[error]tests/Directory.Build.targets(39,5): error MSB3073: (NETCORE_ENGINEERING_TELEMETRY=Build) The command ""/mnt/vss/_work/1/s/artifacts/bin/Aspire.Templates.Tests/Release/net8.0/Aspire.Templates.Tests" --filter-not-trait category=failing --list-tests" exited with code 150. ```
1 parent 3240c43 commit 3850afa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dotnet.previewSolution-freeWorkspaceMode": true,
3-
"dotnet.testWindow.useTestingPlatformProtocol": true,
43
"dotnet.defaultSolution": "./Aspire.slnx",
5-
"dotnet.preview.enableSupportForSlnx": true
4+
"dotnet.preview.enableSupportForSlnx": true,
5+
"dotnet.testWindow.useTestingPlatformProtocol": false
66
}

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<DotNetRuntimePreviousVersionForTesting>8.0.13</DotNetRuntimePreviousVersionForTesting>
1313
<!-- dotnet 8.0 versions for running tests - used for templates tests -->
1414
<DotNetSdkPreviousVersionForTesting>8.0.406</DotNetSdkPreviousVersionForTesting>
15-
<XunitV3Version>2.0.2</XunitV3Version>
16-
<XUnitAnalyzersVersion>1.21.0</XUnitAnalyzersVersion>
17-
<XunitRunnerVisualStudioVersion>3.1.0</XunitRunnerVisualStudioVersion>
15+
<XunitV3Version>2.0.0</XunitV3Version>
16+
<XUnitAnalyzersVersion>1.20.0</XUnitAnalyzersVersion>
17+
<XunitRunnerVisualStudioVersion>3.0.2</XunitRunnerVisualStudioVersion>
1818
<MicrosoftTestingPlatformVersion>1.6.3</MicrosoftTestingPlatformVersion>
1919
<MicrosoftNETTestSdkVersion>17.13.0</MicrosoftNETTestSdkVersion>
2020
<!-- Enable to remove prerelease label. -->

0 commit comments

Comments
 (0)