Closed
Description
When the SDK is "Microsoft.NET.Sdk.WindowsDesktop", it would be nice not to have to add <UseWPF>true</UseWPF>
. Especially when migrating projects from old-style .csproj files, this is easy to forget and seems otherwise unnecessary since I already claimed what project type I'm going to build. And wouldn't this be true of both WPF and UWP projects anyway - to include *.xaml files as <Page>
items?
Also, why must the IDE - or, when using VSCode, we (manually) - add <None Remove="..."/>
when the targets could do this for any <Page>
items. Could this also be done automatically in the targets for "Microsoft.NET.Sdk.WindowsDesktop"?
This could make WPF SDK-style .csproj files as slim as non-WPF SDK-style .csproj files.
Metadata
Metadata
Assignees
Labels
No labels