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的某些部分。我應該試圖卸載並重新安裝它,但沒有機會。

相關問題