Visual Studio停止支持我的项目

时间:2017-03-29 16:51:23

标签: c# visual-studio visual-studio-2013 class-library project-types

我有Visual Studio 2013 Ultimate。今天,当我打开它时,它没有加载我的任何解决方案的项目。错误讯息:

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.
     - ETL_<Project name>, "<Project path></Project>.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 2013, Visual Studio 2012, and Visual Studio 2010 SP1. Project behavior will not be impacted.
     - <Project name></Project>, "<Project path></Project>.sln"

这些项目属于类库和控制台应用程序。如果我尝试创建一个新项目,列出了这些类型,但是当我创建它时,我收到消息<Project path> cannot be opened because its project type (.csproj is not supported by this version of the application. To open it, please use a version that supports this type of project.

那么,Visual Studio告诉我它不支持它刚刚创建的项目?! GJ M $ !!

2 个答案:

答案 0 :(得分:0)

不幸的是我无法解决这个问题。我最终卸载了VS Ultimate。现在我使用VS Express for Desktop,它适用于我的旧项目。

我的假设是,Windows上的某些内容破坏了VS的某些部分。我应该尝试卸载并重新安装它,但没有机会。

答案 1 :(得分:-1)

我在Hyper-V VM中也有同样的事情。修复后无法正常工作,我卸载并重新安装了VS 2017.同样的事情。 在主机中我仍然可以用VS打开同一个项目,所以它不是项目,而是VS安装有问题。

将它放在迁移日志中: src \ DTOWEB \ project.json:无法迁移XProj项目DTOWEB。在C:\ DTOWeb \ DTOWEB7 \ src \ DTOWEB \ project.json找不到project.json。

我有第二台虚拟机x86 iso x64,它可以毫无问题地打开项目。所以,我的结论是,该项目没有任何问题。