Skip to content

Conversation

@Youssef1313
Copy link
Member

This backports #51411

Description

This PR backports #51411. It's a fix for dotnet test for Microsoft.Testing.Platform (a new feature in .NET 10) where we didn't parse solution files correctly. This resulted in two categories of issues:

  1. All projects in solution were considered build-able and we attempted to evaluate them. But shared projects are (one) example of a project that shouldn't be build-able.
  2. Not passing the correct values of Configuration and Platform global properties. Normally, when building a solution, projects are passed Configuration and Platform global properties. The lack of passing these global properties can result in wrong evaluation in the project, for example, ending up looking for the test executable in the wrong directory, and failing because it's not found.

Customer Impact

This was reported both internally and externally. Related issues:

Regression?

Technically no, it's a new feature. But if a user is migrating from VSTest to Microsoft.Testing.Platform, they might view it as a regression.

Risk

Low.

@ViktorHofer ViktorHofer changed the title Fix solution parsing in dotnet test for Microsoft.Testing.Platform [release/10.0.1xx] Fix solution parsing in dotnet test for Microsoft.Testing.Platform Nov 18, 2025
@rbhanda rbhanda added this to the 10.0.1 milestone Nov 18, 2025
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.

4 participants