-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Issue building with Windows Desktop 6.0.2 #6109
Comments
We're hitting this too. Didn't happen with 6.0.1. If we build a class library with 6.0.2, then try and consume it in an application built on a PC with 6.0.0 or 6.0.1 on it (ie haven't update VS yet), the compilation will fail.
|
Hello, is there a possibility to tell visual studio 2022 (v 17.1.0) to explicitly build with .net 6.0.0 or 6.0.1 instead of 6.0.2? |
6.0.3 has been released today, please consider updating. Also check dotnet/core#7176 for suggested workarounds. |
I see exactly the same issue after updating to Visual Studio 17.1.1, .NET 6.0.3, .NET SDK 6.0.201, on 2 different computers. |
Me too. A helping workaround is using a global.json in solution dir: { |
Thank you FG-rgb After several weeks trying to solve this problem with the other suggestions your workaround works fine for me using a global.json and version 6.0.103. I am using WPF, .NET 6.0.3, .NET SDK 6.0.201.
|
After updating to 6.0.2 you may experience issues running WPF apps built against 6.0.2 on 6.0.0 or 6.0.1 runtime with the following error.
For an available workaround please refer to dotnet/core#7176.
The text was updated successfully, but these errors were encountered: