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

Do not use a default value for MicrosoftNetCompilersToolsetVersion #15182

Open
1 of 2 tasks
RikkiGibson opened this issue Oct 15, 2024 · 0 comments
Open
1 of 2 tasks

Do not use a default value for MicrosoftNetCompilersToolsetVersion #15182

RikkiGibson opened this issue Oct 15, 2024 · 0 comments

Comments

@RikkiGibson
Copy link

  • This issue is blocking
  • This issue is causing unreasonable pain

It looks like Versions.props specifies an old version of the Toolset package. 4.8 at time of writing.

What this means is that if user has set property UsingToolMicrosoftNetCompilers=true, then this old version of the package is used by default. This is causing the user to use an older compiler than the one in the included .NET SDK, which is not supported.

This should be fixed by deleting the version of the Toolset in Versions.props. This should cause the build to fail when UsingTool... is set without also explicitly setting the tool version. Optionally, some more descriptive warning could also be reported in this case, in order to make it more clear how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant