Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move BuildWithNetFrameworkHostedCompiler to common #47067

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Feb 24, 2025

Related to #46958, #45872

Revision of #41951

ApiCompat uses roslyn in the outer-build. Today it gets the wrong version - it resolves the default toolset version and not the one that the SDK might have used in the BuildWithNetFrameworkHostedCompiler case.

To fix this, move the calculation of BuildWithNetFrameworkHostedCompiler into common targets so that it will happen in the outer build.

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (2)
  • src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.Common.targets: Language not supported
  • src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets: Language not supported
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Feb 24, 2025
@ViktorHofer
Copy link
Member

@ericstj is this ready for merge?

@ericstj ericstj merged commit eb63ff3 into dotnet:main Mar 10, 2025
40 checks passed
baronfel pushed a commit to baronfel/sdk that referenced this pull request Mar 11, 2025
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
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.

4 participants