1

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

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 $ !!

+0

您碰巧从公司存储库获得该代码?是否有用户将项目文件升级到最新版本的Visual Studio? –

+0

您有没有可能将VS#安装程序安装到VS中? – Clay

+0

你可以很确定地在.csproj文件中设置VS版本。检查以确保设置的值与您的VS版本一致。 – Mark

回答

-1

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

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

我有第二个VM是x86 iso x64,它可以打开项目没有问题。所以我的结论是,这个项目没有错。

0

不幸的是我无法解决这个问题。我最终卸载了VS Ultimate。现在我使用VS Express作为桌面,它可以与我的旧项目一起工作。

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

相关问题