Regression for WPF projects in 2.0.24 (original) (raw)
Using Visual Studio 2019 RTM, .NET Core SDK 2.2.202.
WPF applications / libraries no longer build with the newly released 2.0.24.
I'm pretty sure this is because this line forces ExtrasUseWindowsDesktopApp to be true unconditionally when we opt-in to WPF stuff, even though true is exactly the value that turns off pretty much all the WPF setup that Extras does.
Here's a more-or-less minimal repro, note what happens when switching 1.6.68 to 2.0.24:
WpfApp.csproj
WinExe net472 trueApp.xaml
MainWindow.xaml
The error I get:error CS5001: Program does not contain a static 'Main' method suitable for an entry point