Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Solution Unavailable (reload doesn't work)

I am downloading a sample program for a barcode reader that I am using. Everytime I download the program and run it I am prompted with the error in my solution explorer (see image below).

Any suggestions? Everytime I right click and reload project, it reloads quickly and then reverts back to unavailable.

Suggestions?

EDIT: Here is the link to the project (scroll to the bottom, PC Sample Program)

http://www.barcodereader.com/download/connections.php

CS Project File Example

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SrEthernetSample",     
"SrEthernetSample\SrEthernetSample.csproj", "{7A2F3660-184B-4553-ADEF-3071D718A501}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
    Debug|Any CPU = Debug|Any CPU
    Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
    {7A2F3660-184B-4553-ADEF-3071D718A501}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    {7A2F3660-184B-4553-ADEF-3071D718A501}.Debug|Any CPU.Build.0 = Debug|Any CPU
    {7A2F3660-184B-4553-ADEF-3071D718A501}.Release|Any CPU.ActiveCfg = Release|Any CPU
    {7A2F3660-184B-4553-ADEF-3071D718A501}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
    HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

solution explorer error

Output, output panel dropdown is empty

like image 270
Pardon_me Avatar asked Sep 15 '14 17:09

Pardon_me


People also ask

Why is Visual Studio not loading?

Try firing up the developer Command prompt under the Visual Studio menu, enter devenv /safemode and if Visual Studio starts there is an issue with an extension and if this does not work the next thing to look at is Windows Defender and/or any anti virus software which may be causing Visual Studio not to load.

How do I reload a solution in Visual Studio?

In Solution Explorer, select the projects you want to load (press Ctrl while clicking to select more than one project), and then right-click on the project and choose Reload Project. Visual Studio will remember which projects are loaded the next time you open the solution locally.

How do I unload and reload Visual Studio project?

Right-click the project in Solution Explorer, and click Reload Project. To remove the UModel project from the Visual Studio solution: Unload the project, as shown above. Right-click the project in Solution Explorer, and click Remove.


3 Answers

I faced this problem recently. The procedure below worked for my solution:

  1. Right click the project which is not loading, in VS Solution Explorer
  2. Click on Remove and confirm the removing process
  3. Right click the Solution and select Add > Existing Project
  4. Browse to the .csproj file in the project folder

If the above procedure does not work, then check the .NET targeted framework. May be Framework Incompatibility must be also one reason of the problem

If it shows error while you perform above steps then please check this

You do not have permission to access the IIS configuration file - Web app error

like image 151
mudrak patel Avatar answered Sep 29 '22 03:09

mudrak patel


I was having the same problem on VS 2017 CE. I opened a .sln and the solution was empty (unavailable).

This solved my problem:

  1. open the .sln file in VS
  2. right click on the project name (unavailable) in the solution explorer
  3. click on "install missing..." (i don't remember the exact text)
like image 14
mrzhero Avatar answered Sep 29 '22 04:09

mrzhero


Have you tried re-adding the project to the solution from within VS? That can fix an invalid path

like image 9
inchbuie Avatar answered Sep 29 '22 04:09

inchbuie