简体   繁体   English

Xamarin项目在Visual Studio 2015中不可用

[英]Xamarin project unavailable in Visual Studio 2015

I have a Xamarin solution I've worked on my Mac for some time, but now with Xamarin integration in Visual Studio I want to work on my Windows machine instead. 我有一个Xamarin解决方案,我已经在我的Mac上工作了一段时间,但现在在Visual Studio中使用Xamarin集成我想在我的Windows机器上工作。 I have Xamarin tools installed and integrated in Visual Studio 2015 Enterprise. 我在Visual Studio 2015 Enterprise中安装并集成了Xamarin工具。 When I try to load the unavailable project it just tells me to install missing features, which brings up the VS installation application. 当我尝试加载不可用的项目时,它只是告诉我安装缺少的功能,这会打开VS安装应用程序。

在此输入图像描述

Does anyone know how I bypass this error? 有谁知道我如何绕过这个错误? Do I need to create a new project and import the old source files? 我是否需要创建新项目并导入旧的源文件? Because I would like to avoid that. 因为我想避免这种情况。

The problem was that I had to reinstall Xamarin multiple times to get it to work. 问题是我不得不多次重新安装Xamarin才能让它工作。 I installed it through VS and then through Xamarin's own website. 我通过VS安装它,然后通过Xamarin自己的网站安装它。

尝试右键单击并从解决方案资源管理器重新加载项目。这将帮助您从项目中获取所有文件。

Just right click install missing feature like this image 只需右键单击安装此图像的缺失功能

在此输入图像描述

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

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