创建 Xamarin.Forms 跨平台应用程序时出现“此项目需要 Visual Studio 更新才能加载"错误 [英] “This project requires a Visual Studio update to load” error when creating a Xamarin.Forms Cross-Platform Application

查看:19
本文介绍了创建 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.

这篇关于创建 Xamarin.Forms 跨平台应用程序时出现“此项目需要 Visual Studio 更新才能加载"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆