Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Solution shows (0 projects)

How do I get my project to work when it says in the solution explorer Solution 'solution name' (0 projects) and below that it says 'project name' (unavailable)?

like image 857
Daniel L. VanDenBosch Avatar asked Mar 22 '17 19:03

Daniel L. VanDenBosch


3 Answers

try this:

  • right click on the solution name
  • select 'Add'
  • select 'Existing Project'
  • in browser window go to your project folder and select 'YourProjectName.csproj' file (.csproj file of project)
  • and the project will be added! so Done!

Best Regard.

like image 138
D.L.MAN Avatar answered Sep 19 '22 19:09

D.L.MAN


All I had to do to get this working is I had to right click the project and click reload project. Somehow my project got unloaded. When your circumstances look like this, it is possible that this happened.

like image 26
Daniel L. VanDenBosch Avatar answered Sep 22 '22 19:09

Daniel L. VanDenBosch


for me the Accepted Answer did not fix it, I went back through my commit history and got the last ver. that was working,

That fixed it. Hope this helps others that have this problem.

like image 29
Roshna Omer Avatar answered Sep 20 '22 19:09

Roshna Omer