-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SDK upgrade causes compile failure due to not generating VB.NET WPF code behind #12324
Comments
This is now breaking lots of folks who are dogfooding VS.
|
To keep all info in one place: My understanding of the issue was that we didn't want framework's copy of |
If I understand correctly, the projects getting broken by this change are ones targeting .NET Framework. While there was discussion in the initial issue of different behavior for So I think probably what we would do to fix the regression is to set If we do want to take a regression and fix the |
(For those wondering: as a workaround other than uninstalling .NET 5 preview, you can make a {
"sdk": {
"version": "3.1.302"
}
} ) |
This is also my understanding.
I agree and am attempting the fix on this repro but I'm unable to test the fix as I can't remote into my work computer at the moment.
I'll talk to Marc about this. I believe we can fix this regression with your proposed solution. I opened this PR, can someone verify this fix? |
Doing some quick testing (thanks @Forgind) it doesn't look like that suggestion works @dsplaisted . I'm thinking at this point we make this opt-in instead of opt-out. So if An interesting observation is that when we force Error:
|
I've updated my PR to import framework winfx targets by default. |
As I understand it, we broke SDK-style WPF projects which targeted .NET Framework, without setting We should avoid breaking such projects, but we should also avoid importing multiple copies of the WPF targets. So I think the default value for |
This should be in RC1 |
Repro:
Clone git@github.com:dotnet/project-system.git.
Error:
The project file defines the item as
Page
but the Properties pane shows it asNone
.Potentially bad globs?
Note that this is a VB.NET file.
Also note that this worked with an earlier version of 5.0.100-preview*, but I don't know which as it was uninstalled when I installed preview 6. I think it was preview 4.
The text was updated successfully, but these errors were encountered: