-
Notifications
You must be signed in to change notification settings - Fork 391
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
Fix WPF application framework re-enable bug #9256
Fix WPF application framework re-enable bug #9256
Conversation
…thub.com/haileymck/project-system into wpf-application-framework-enable-disable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Left some thoughts. The only critical one is the file naming, though the case-insensitivity could also be important.
...es/InterceptedProjectProperties/ApplicationPropertyPage/ApplicationFrameworkValueProvider.cs
Outdated
Show resolved
Hide resolved
...es/InterceptedProjectProperties/ApplicationPropertyPage/ApplicationFrameworkValueProvider.cs
Outdated
Show resolved
Hide resolved
...es/InterceptedProjectProperties/ApplicationPropertyPage/ApplicationFrameworkValueProvider.cs
Outdated
Show resolved
Hide resolved
...es/InterceptedProjectProperties/ApplicationPropertyPage/ApplicationFrameworkValueProvider.cs
Outdated
Show resolved
Hide resolved
Is it implicitly defined in C# as well? |
@haileymck is this still in-progress or has it been shelved? |
going to convert to draft |
Fixes AB#1882665
When you disable and then re-enable "Application Framework" in VB WPF projects, it adds
<ApplicationDefinition Include="Application.xaml" />
to the project file, which is already implicitly declared and causes the build to fail. This PR removes this ApplicationDefinition when the property is re-enabled.Note that this change leaves empty
<ItemGroup />
in the project file because theItemGroups
is a readonly collection available by MSBuildMicrosoft Reviewers: Open in CodeFlow