I\'m migrating my projects to the new visual studio 2017 format which is working nicely for all standard libraries only now I run into problems with my UI libraries where I
There's Sunburst.NET.Sdk.WPF that allows to use it as .NET SDK. Here's complete example for WPF application where any .cs and .xaml files will be included automatically:
WinExe
net40
When you build this project with msbuild (notably I had no luck with dotnet build though), it will automatically download SDK from NuGet and set everything up.