Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error - One or more projects in the solution were not loaded correctly

In VisualStudio2010 I changed the name of the project and the name of the solution. When I try to open the solution I get this error:

One or more projects in the solution were not loaded correctly.

Any idea why I get this error?And how to fix it?

like image 210
Michael Avatar asked Dec 30 '14 12:12

Michael


2 Answers

Try opening the .csproj file in notepad and making sure all references and paths are correct.

like image 153
KamranJavid Avatar answered Oct 16 '22 18:10

KamranJavid


In my situation, I had the GlobalSection duplicated in my solution. I'm using TFS and sometimes it has trouble to merge configuration from multiple developers at the same time.

Open your Solution (.sln) in NotePad++ and look up for this tag and remove one from the duplicated.

GlobalSection(TeamFoundationVersionControl) = preSolution

You may need to readd the last projects to the solution though.

like image 3
Thalles Noce Avatar answered Oct 16 '22 20:10

Thalles Noce