简体   繁体   English

如何创建 a.dmg 文件以允许在 MacOS 上部署 a.NetCore 3.1 应用程序

[英]How can I create a .dmg file to allow deployment of a .NetCore 3.1 app on MacOS

I have a.NetCore 3.1 Forms application in C# created with VS 2019 v 16.8.2 on Windows 10. How can I create a dmg file to allow deployment on MacOS (Catalina).我在 C# 中有一个.NetCore 3.1 Forms 应用程序,在 Windows 文件中使用 VS 2019 v 16.8.2 在 Windows 文件中创建以允许在 10 上进行部署。

According to MS announcement WinForms, WPF will run only on Windows - https://devblogs.microsoft.com/dotnet/introducing-net-5/ .根据 MS 公告 WinForms,WPF 将仅在 Windows - https://devblogs.microsoft.com/dotnet/introducing-net-5/上运行。 The whole point was to move WPF and WinForms to target.Net Core, which doesn't automatically makes them cross-platform.重点是将 WPF 和 WinForms 移至 target.Net Core,这不会自动使它们跨平台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM