创建 Xamarin.Forms 跨平台应用程序时出现“此项目需要 Visual Studio 更新才能加载"错误

问题描述:

当我在 Windows 8.1 上使用 Visual Studio Community 2015 Community 创建一个 Xamarin.Forms 应用程序时,它会在加载时显示此错误:

When I create a Xamarin.Forms application using Visual Studio Community 2015 Community on Windows 8.1 it shows me this error on load:

A problem was encountered creating the sub project 'App1.WinPhone'. This project requires a Visual Studio update to load. Right-click on the project and choose 'Download Update'

我已经安装了所有可用的更新,并在新安装的 Windows 上进行了尝试.

I've installed all updates available and trying on a newly installed Windows.

注意:我在表单中遇到了这个错误.

Note: I had this error in Forms.

我该如何解决这个错误?

How can I fix this error?

注意:解决方案资源管理器中没有下载更新选项.

Note: There isn't a Download Update option in Solution Explorer.

完全卸载 Xamarin,然后重新安装.这也发生在我身上.我也会卸载 Visual Studio.先安装,然后安装 Xamarin.

Uninstall Xamarin completely, and reinstall it. That happened to me as well. I would uninstall Visual studio too. Install that first, then install Xamarin.

我知道这很糟糕,但这是 Xamarin 团队让我解决的问题.据我所知,这是上周的官方修复.

I know this sucks to do, but it was what the Xamarin team had me do to resolve it. As far as I know this is the official fix as of last week.