【问题标题】:Issue creating a Xamarin.Forms app on a Windows Server OS在 Windows Server 操作系统上创建 Xamarin.Forms 应用时出现问题
【发布时间】:2017-12-06 22:51:24
【问题描述】:

我想在开发 Xamarin.Forms 应用程序时出于原因使用 Windows 服务器操作系统,但在创建 *.UWP 的阶段时遇到错误项目。有谁知道不使用“客户端 Windows 操作系统”的方法?我使用“Microsoft Windows Server 2016 Datacenter”操作系统。错误如下。

【问题讨论】:

  • 为什么要使用服务器操作系统?为什么不使用带有 Win10 的 VM?
  • UWP 应用仅适用于 Windows 10(目前)。因此,您不能在 Windows Server 上开发它。就像你不能在 Mac 上开发 UWP 一样。答案很明显,没有变通办法。
  • 理论上你可以在windows server 2016上创建uwp app,但是在windows server上本地调试不可用。更多内容可以参考Visual Studio 2017 Platform Targeting and Compatibility
  • 你安装Windows 10 SDK了吗?

标签: visual-studio uwp xamarin.forms visual-studio-2017 windows-server-2016


【解决方案1】:

意识到我并不完全需要服务器操作系统,我可以在 Windows 10 上使用虚拟机,感谢 magicandre1981 的评论。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-06-01
    • 2016-10-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多