本文介绍了错误消息未正确加载解决方案中的一个或多个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。

我的ASP.net项目存储在外部驱动器中,不幸的是我的外部驱动器已损坏。

不知怎的,我已设法恢复数据,但现在我我试图在VS中加载ASP.net项目,同时收到错误解决方案中的一个或多个项目没有正确加载。



任何人都可以帮我解决这个问题。



谢谢



我的尝试:



我已经尝试了以下一些解决方案。

1.试图删除.suo文件

2.试图将旧项目文件加载到新的新项目中。

Hello.
My ASP.net project was stored in external drive and unluckily my external drive got corrupted.
Somehow I have managed to recover data, but now I am trying to load the ASP.net project in VS while getting error one or more projects in the solution were not loaded correctly.

Can anybody help me to get resolve this.

Thank You

What I have tried:

I have already tried some of below solutions.
1. Tried to delete .suo file
2. Tried to load old project files into new fresh project.

推荐答案

I had this same problem.  The problem for me was in the .sln file.  At the end of the file there were multiple of the following:

GlobalSection(TeamFoundationVersionControl) = preSolution

EndGlobalSection

I deleted the extra ones and the message went away.

I believe the cause of this is when TFS merges different check-ins of the solution or some does it manually and does it wrong.

Paul


这篇关于错误消息未正确加载解决方案中的一个或多个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 03:49