Visual Studio 2008 project does not load, but no errors

I have a VS 2008 Service Pack 1 (SP1) solution with multiple projects. Two of the projects appear in the list, but instead of the regular project icon, they have a folder icon. The folder is inactive and I cannot expand the folder. Files are definitely available, and security is in order.

I edited the SLN file and deleted the projects, and then added them again from the IDE, but it does the same thing anyway.

I opened one of the projects individually (by double-clicking from the Windows Explorer window), created a new solution for it and got the same symptom (a hidden folder for the project without the ability to see any of the files from the IDE VS 2008).

I can't find anything on the internet that seems to help.

Does anyone have an idea to restore a project - before I just start and create a new project?

Thanks,

+2
source share
2 answers

Launch

devenv.exe /installvstemplates 

The problem is fixed. Both projects were unit projects - one NUnit, one MS. I assume that the intricate patterns are causing the problem.

Thought when I tried to add a new project.

+2
source

The easiest way to fix this is to delete the solution file. Open your main project directly, save the new solution file, and then add all the projects that are part of this solution. There seems to be something wrong with your solution file! Let me know if this solves!

0
source

All Articles