Skip to content

Conversation

@MiYanni
Copy link
Member

@MiYanni MiYanni commented Sep 11, 2023

Related: #34659

Summary

This is a problem that was in main but I fixed it in the PR above when I ran dotnet format. The fix for this problem doesn't exist in release/8.0.1xx, though. Adding just this fix so building in VS on this branch works properly. Without this fix, this project doesn't build in VS.

Details

This project uses a shared Program.cs file that depends on Microsoft.NET.TestFramework to compile. Adding the project reference and utilizing the global using fixes the build problem in VS. This is what VS shows for the situation without these changes:
image

…ogram.cs file requires this project reference to build.
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Sep 11, 2023
@MiYanni MiYanni requested a review from a team September 11, 2023 20:47
@JL03-Yue
Copy link
Contributor

Looks straight forward to me~

@MiYanni MiYanni merged commit 0135179 into dotnet:release/8.0.1xx Sep 12, 2023
@MiYanni MiYanni deleted the FixMsbuildTestsUtilitiesInVS branch September 12, 2023 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants