Click here to Skip to main content
15,559,544 members
Please Sign up or sign in to vote.
1.31/5 (4 votes)
i opened my windows application solutions file at today morning its showing the project file was unloaded in the solution explorer ., but it was working fine till yesterday night., now what happened why i am getting this error now i am unable to open my project please help me out
Posted
Updated 21-Dec-21 8:06am
v2

We can't tell - we do not know what you did last time it worked to stop it working.
However, you can try adding it back in: Right click the solution in the Solution explorer, and select "Add...Existing Project". Follow the dialogs to put your project back in the solution.
 
Share this answer
 
right click on solutions files in solution explorer and right click then choose reload project. it will recover old files
 
Share this answer
 
v2
Comments
mehran arif 7-Apr-21 10:01am    
Awesome, very good answer
The most common cause I've seen of this issue is failing to run Visual Studio in administrator mode. Many projects, such as websites, require admin mode to load.
 
Share this answer
 
In my case, run visual studio in admin mode solved it.
Apparently, I was earlier running VS in admin mode to allow "attach to process" while running local IIS
 
Share this answer
 
Comments
Member 14814137 14-Jun-20 8:17am    
Thanks, you saved my day. i was facing same problem in asp.net in visual 2019 where im running my web on local IIS instead of IIS Express. Running visual studio as admin solved my problem.
close application then delete .vs file and reopen the visual studio
 
Share this answer
 
v2
Comments
Richard Deeming 21-Jan-21 8:18am    
The .vs folder was not created by any version of Visual Studio which was available when this already-solved question was posted. It was introduced by VS2015, whereas this question was posted in 2013.
you also open your project from the documents where the window application is saved ,i think if you run the application from the document then vs2010 and then the winform something u will be able to recover all the files!!!
 
Share this answer
 
v2
Change the name of the folder back to what it was, and then it will work.
 
Share this answer
 
I got the same problem. Before the project become unloaded I had another error about file name. A word file it read had a very long name and the error was like "file name can not be longer than 260 characters." Because of this error I couldn't open my controller classes etc.
The word file was in temp folder and I deleted it then I had to do nothing but open the project again.
 
Share this answer
 
Comments
CHill60 15-Mar-21 6:02am    
OP did not mention opening a Word document in their question and you would still have needed to add the project to the solution again - as already stated

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900