How-to migrate Wpf projects to the new VS2017 format

后端 未结 6 463
耶瑟儿~
耶瑟儿~ 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:34

    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.

提交回复
热议问题