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
Now that .NET Core 3 has been released, you should use it if you can.
But if not, I've found that I can create a separate Shared project for only the XAML items, and I can reference that project from the SDK-style project. Everything builds properly.
Note that the XAML designer doesn't work -- no Intellisense or red squigglies. Visual Studio opens the XAML files with the XML editor.