Visual Studio Solution Unavailable (reload doesn't work)

前端 未结 20 1114
离开以前
离开以前 2021-02-01 15:20

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 ima

相关标签:
20条回答
  • 2021-02-01 15:54

    The most probably reason of not loading the solution may be because of the version incompatibility of the version of vs you are using and the one by which the solution(you are trying to load) was built. For example - You may be using the VS 2013 And the solution was built using VS 2005.

    The solution is creating new empty solution and adding all the files you downloaded to load it successfully.

    0 讨论(0)
  • 2021-02-01 15:54

    Had similar problem with causing solution explorer to indicate file "unavailable". Performed same fix as suggested above i.e. right clicked on file and selected reload. Got another message that in order run in Universal window had to install what was being offered which I did and everything working fine now.

    0 讨论(0)
  • 2021-02-01 15:58

    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)
    0 讨论(0)
  • 2021-02-01 15:58

    I had the same issue and fixed it by opening the project in Administrator mode in the latest version of VS 2017. The solution was originally in 2010, but when I opened it in 2017 and reloaded it the projects loaded correctly and no incorrect information was posted in the output window.

    0 讨论(0)
  • 2021-02-01 16:01

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

    0 讨论(0)
  • 2021-02-01 16:01

    I remove project by right click on the project and click remove. Then right click on the solution and add existing project you removed. If this didn't work then before adding the existing project delete csproj.user file and then add.

    0 讨论(0)
提交回复
热议问题