How-to migrate Wpf projects to the new VS2017 format

后端 未结 6 461
耶瑟儿~
耶瑟儿~ 2020-12-08 03:18

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

6条回答
  •  天命终不由人
    2020-12-08 03:49

    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.

提交回复
热议问题