Skip to content

Unskip tests of MSBuildWorkspace with blazor and blazorwasm templates#80468

Merged
jasonmalinowski merged 3 commits intodotnet:mainfrom
jasonmalinowski:unskip-msbuildworkspace-template-tests
Nov 10, 2025
Merged

Unskip tests of MSBuildWorkspace with blazor and blazorwasm templates#80468
jasonmalinowski merged 3 commits intodotnet:mainfrom
jasonmalinowski:unskip-msbuildworkspace-template-tests

Conversation

@jasonmalinowski
Copy link
Member

@jasonmalinowski jasonmalinowski commented Sep 26, 2025

This changes the condition to continue to skip them on 32-bit runs, which is the real reason they're broken.

Fixes #80263.

@jasonmalinowski jasonmalinowski force-pushed the unskip-msbuildworkspace-template-tests branch from bf999a4 to b524bf5 Compare November 8, 2025 00:48
var project = await workspace.OpenProjectAsync(projectFilePath, cancellationToken: CancellationToken.None);

string binlogPath;
if (Environment.GetEnvironmentVariable("HELIX_DUMP_FOLDER") is string helixDumpFolder && !string.IsNullOrEmpty(helixDumpFolder))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we move to xunit 3 we should switch this over to using the file attachment support. And then make sure whatever magic needs to happen for those to be auto-captured in Helix works.

Comment on lines +236 to +239
var analyzerLoadDiagnostics = new List<AnalyzerLoadFailureEventArgs>();

foreach (var analyzerReference in project.AnalyzerReferences.OfType<AnalyzerFileReference>())
analyzerReference.AnalyzerLoadFailed += (sender, e) => analyzerLoadDiagnostics.Add(e);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should delete this when we merge #80109.

@jasonmalinowski jasonmalinowski marked this pull request as ready for review November 8, 2025 01:01
@jasonmalinowski jasonmalinowski requested a review from a team as a code owner November 8, 2025 01:01
@jasonmalinowski jasonmalinowski merged commit 827cf32 into dotnet:main Nov 10, 2025
26 checks passed
@jasonmalinowski jasonmalinowski deleted the unskip-msbuildworkspace-template-tests branch November 10, 2025 19:20
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 10, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skipped test: ValidateCSharpTemplateProjects blazor and blazorwasm

3 participants