无法使用VS 2017打开Android.csproj [英] unable to open Android.csproj using VS 2017

查看:82
本文介绍了无法使用VS 2017打开Android.csproj的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


为什么没有 它显示为安装Xamarin以在C#中构建本机andriod应用程序?当我们尝试使用vs 2017打开它时?



此版本的Visual Studio无法打开以下项目。可能未安装项目类型或此版本的Visual
Studio可能不支持它们。 


有关启用这些项目类型或以其他方式迁移资产的详细信息,请参阅"迁移报告"中的详细信息。单击确定后显示


- xxxxx.Android," C:\ xxxxx \ Android \ xxxxx.Android.csproj"





Navin.D http://dnavin.wordpress.com




解决方案


欢迎来到MSDN论坛。


>>此版本的Visual Studio无法打开以下项目。项目类型(1)可能未安装或(2)此版本的Visual
Studio可能不支持


Visual Studio 2017与早期版本的visual studio有一些差异。例如,.NET Core csproj格式随着每个新的预发布
版本的工具而不断变化和发展。没有工具可以将项目文件从早期版本的csproj迁移到最新版本,因此您需要手动编辑项目文件。因此,错误消息将提醒您迁移它。


因为没有任何变化特定于平台的Xamarin项目,因此如果您在收到错误消息时安装了Xamarin组件,则可能需要检查它。根据您的描述
,请使用.NET工作负载安装Mobile Development。 ( https://docs.microsoft.com/en-us/visualstudio /跨平台/ visual-studio-and-xamarin


祝你好运,


Joyce



why did not  it show as Install Xamarin to build native andriod apps in C# ?when we try to open it using vs 2017?

This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. 
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- xxxxx.Android, "C:\xxxxx\Android\xxxxx.Android.csproj"


Navin.D http://dnavin.wordpress.com


解决方案

Hi,

Welcome to MSDN forum.

>>This version of Visual Studio is unable to open the following projects. The project types (1)may not be installed or (2)this version of Visual Studio may not support them.

Visual studio 2017 has some differences with the earlier version of visual studio. For example, the .NET Core csproj format has been changing and evolving with each new pre-release version of the tooling. There is no tool that will migrate your project file from earlier versions of csproj to the latest, so you need to manually edit the project file. So the error message will remind you to migrate it.

Because of nothing changes with platform specific Xamarin Projects, so you may need to check it if you have installed Xamarin components when getting the error message. According to your description, please install Mobile Development with .NET workloads. (https://docs.microsoft.com/en-us/visualstudio/cross-platform/visual-studio-and-xamarin)

Best regards,

Joyce


这篇关于无法使用VS 2017打开Android.csproj的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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