Visual Studio Solution Unavailable (reload doesn't work)

前端 未结 20 1057
离开以前
离开以前 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:48

    Happened to me when I attempted to load a solution that contained projects that were built with a newer version of Visual Studio 2010 and slightly newer .NET Framework. In other words even though both Visual Studios were 2010 SP1, the original had all of the most recent VS patches applied, where the one I was trying to open did not. Set Windows Update to make sure to check for updates for other Microsoft Products, and apply all Visual Studio patches and Framework updates making it current. Reopen.

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

    First, create a blank solution with the same name as your project.

    On the File menu, select New and then click Project.

    In the Project types pane, select Other Project Types and then select Visual Studio Solutions.

    In the Templates pane, select Blank Solution.

    Enter a name for the project (same as failing to load solution).

    To change the location of the solution directory, choose Browse and specify a new location.

    Select Add to Source Control if you want to add the solution to a source control database or repository.

    Click OK.

    After creating an empty solution, move your project folder to the same folder as your solution's folder.

    Add your project to the new solution.

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

    if you opened the project in another version of Visual Studio and you see a message that the framework is different and closed the dialog will appear like this.

    • In the project solution, click right and then update.
    • Then the same window will appear again of version this framework and you can choose to use the recommended one if you do not want to download the framework version.
    • Close and open project again (optional)

    You can see all the project folders again.

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

    Sometimes Windows getting confused.

    You should try:

    Open C:/Users/[$username(change with yours)]/AppData/ directory.

    And try to open Roaming folder.

    If asks open as administrator, click Ok.

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

    I had fixed this issue by run visual studio as administrator mode

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

    I had this problem after I was messing with NuGet packages. I was able to fix it by deleting the packages folder in my solution folder.

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