Using System.Windows.Forms classes in a .net core 3.0 preview9 project

后端 未结 1 1724
礼貌的吻别
礼貌的吻别 2020-12-29 23:38

How can we use classes like Screen in a .NET Core 3.0 WPF project? There are documentation pages for .NET Core 3.0 for them, so I assumed it should work.

VS and the

1条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-30 00:12

    You should add true in your csproj.

    
        WinExe
        netcoreapp3.0
        true
        true
    
    

    0 讨论(0)
提交回复
热议问题