Projects load failed in Visual Studio 2015
Solution 1
I experienced this issue for different reasons , but deleting all of the .vs folders ( there was one at the solution level and some projects had their own ) worked for me .
How To: Close the solution , delete all the .vs folders , reopen the solution .
Solution 2
I've already had this problem and in my case I solved it by executing VS as Administrator.
Solution 3
Try the following:
Open the
Output
window (View
->Output
orCtrl+Alt+O
).Then right-click one of the failed projects and select
Reload Project
.
The Output
window will now show a more detailed error message.
Solution 4
Try deleting .suo & .user files.
For those who receive this error but did not move projects around
Try deleting .suo files in your solution folder. Solution User Option file is a binary file which contains various user information and settings such as location of the breakpoints.
If that didn't help try also to delete .user file. If you have trouble finding .suo file
In Visual Studio 2015 (also in Community Edition), the .suo file is located inside a hidden .vs folder in solution folder. Since both .vs folder and .suo file have hidden attribute applied to them, you have to reveal them using using File Explorer by changing folder options to “show hidden files, folders and drives”. How to get to this option in File Explorer depends on the version of Windows:
- In Windows 7, option is located under Organize > Folder and search options.
- in Windows 8, it is located under View tab > Options > Change folder and search options.
- in Windows 10, it is the same as in Windows 8.
Solution 5
I opened the .sln (MySolutionName.sln) file with Notepad++ and edited the below parts. I had 3 projects in my solution:
MyProject1Name, MyProject2Name, MyProject3Name
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyProject1Name", "MySolutionName\MyProject1Name.csproj", "{D9FA9D42-71F3-459E-9643-426F002713EE}" EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyProject2Name.Service", "MyProject2Name\MyProject2Name.csproj", "{173F0709-90E3-48B9-AA06-4AEC9957AFED}" EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyProject3Name", "MyProject3Name\MyProject3Name.csproj", "{B5F4ADAC-7C37-4A2C-B15A-56C50F3BF7C9}" EndProject
then everything worked properly and the projects load successfully.
Related videos on Youtube
raghuvaran
Updated on July 15, 2022Comments
-
raghuvaran almost 2 years
When I am opening a .sln in Visual Studio 2010, projects are loading properly. But when I open the same solution with Visual Studio 2015 (Professional with Update 1), projects are not getting loaded with the error (load failed). This is shown below:
Can anyone suggest the solution for this?
-
Admin over 6 yearsHave you solved your problem? Recently I had the same problem and it was because I didn't have the proper .net sdk installed in my pc (it was a lower version than the one that was installed with VS). So after getting it, my problem was solved.
-
-
raghuvaran about 7 yearsAll the project paths are correct. Because with VS 2010 the projects are loading properly. The problem is only with VS 2015
-
Marcus D over 3 yearsGreat general tip, didnt solve my problem, but lead to a solution. thx.
-
Dom84 over 3 yearsthats it! 2 hours research than i found your post, thank you so much
-
d13 about 3 yearsHow do you do this on Mac?
-
M. A. Cordeiro about 3 yearsHey @d13, Here you can find some information on how to run an application with root privilege on Mac, this is not the exact answer for your question, but I think it can help you.
-
Hassaan Raza Now about 2 yearsthanks, changing the paths solved my problem.