c# - 用于 Unity3D 的 Visual Studio 2015 错误 "Incompatible Project"

标签 c# visual-studio unity3d visual-studio-2015 sln-file

我让 UnityVS 2013 工作得很好。我安装了 VS 2015 并卸载了 VS 2013。我为 Unity 安装了新的 VS 插件并生成了项目文件。

我已经从这里安装了 Unity3D 插件: UnityVS Plugin 2015

但是现在当我尝试打开我得到的项目时

Unsupported 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. - UnityVS.ProjectName.CSharp, "C:\~\UnityVS.ProjectName.CSharp.csproj" - UnityVS.ProjectName.CSharp.Editor, "C:\~\UnityVS.ProjectName.CSharp.Editor.csproj"

Non-functional changes required Visual Studio will automatically make non-functional changes to the following projects in order to enable them to open in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted. - UnityVS.ProjectName, "C:\~\UnityVS.ProjectName.sln"

我试过重新安装。我删除了所有解决方案和项目文件,并尝试从头开始重新创建它们。我运行的是 Windows 8.1。

如果您知道为什么这个项目可能无法正常工作,我会洗耳恭听。

在迁移报告中我得到这个错误:

The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1

最佳答案

好的,我开始工作了:

  1. 从 Unity3D 中删除了旧的 UnityVS 文件夹
  2. 删除所有的 csproj 和 sln 文件 2b. 重要更改项目设置以使用 MonoDevelop 而不是 Visual Studio
  3. 关闭Unity3D
  4. 删除 Unity 2015 插件
  5. 重新安装 Unity 2015 插件
  6. 导入 Unity 2015 Unity 包
  7. 点击“在 Visual Studio 中打开”

在这之后它对我有用

关于c# - 用于 Unity3D 的 Visual Studio 2015 错误 "Incompatible Project",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31553879/

相关文章:

c# - 将文档与代码分开

c# - 钳位幅度不适用于 RigidBody.Velocity

c# - 使用电子邮件地址的 Asp.Net 身份验证

c# - 为一个Form制作多个界面

c# - 使用正则表达式删除所有独有的拉丁字符

c++ - 监视表达式中的 vector 大小不正确

c# - 从代码后面将变量传递给 javascript 函数

java - Visual Studio Code 找不到 JDK8

c# - Unity - WaitForSeconds() 不起作用

c# - 碰撞时的C#解析错误