The 'ProviderPackage' package did not load correctly

前端 未结 19 974
春和景丽
春和景丽 2020-12-04 10:57

I installed Visual Studio 2012 and at a later date Update 2. After installing Update 2, when I load any project, I get the following error:

相关标签:
19条回答
  • 2020-12-04 11:33

    This worked for me -

    In order to fix the issue one needs to clear the Visual Studio cache under:

    %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache
    

    Thanks go to blog post SetSite failed for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage].

    0 讨论(0)
  • 2020-12-04 11:34

    I fixed this by uninstalling or removing:

    Microsoft SQL Server Data Tools - enu (14.0.50325.0)

    I hope this helps :)

    0 讨论(0)
  • 2020-12-04 11:34

    Worked for me. Window7 SP1 + VS 2013 Open a Developer Command Propmpt for VS 2012 (as administrator). Run devenv /setup.

    0 讨论(0)
  • 2020-12-04 11:34

    I got "lucky" and restarted Visual Studio 2013 and it worked. I have had other errors in which deleting the temp cache items cleared it up.

    Side note. While Visual Studio 2015 is not perfect as of yet, and NuGet has become less friendly to use IMO, if my computer is restarted by the company domain network administrators OR especially when there is a computer losing power with a brown-out of some loss of power Visual Studio 2013 becomes a bit a "fun" to fix while Visual Studio 2015 projects for months seem to just open just fine as if nothing happened when I login.

    0 讨论(0)
  • 2020-12-04 11:35

    For me the ActivityLog.xml stated

    <errorinfo>Access to the path 'C:\Users\Klas\Documents\Visual Studio
    2015\ArchitectureExplorer' is denied.</errorinfo>
    

    When I examined this folder I realized that the entire folder structure here

    C:\Users\Klas\Documents\Visual Studio 2015
    

    had permission set so that my user had no write permissions. I added Full Control rights to my user for this folder and everything below.

    After that, the message went away. Also, when I started Visual Studio it created lots of subfolders to this folder.

    0 讨论(0)
  • 2020-12-04 11:38

    In my case the problem appeared after I installed Visual Studio 2015. From that point nor 2015, nor previous versions of Visual Studio would load. The problem was the PATH environment variable exceeding the MAX length.

    I shortened it to less than 2048 and restarted the machine. Visual Studio started loading, but with some errors still. Lastly run the devenv /setup, and all is back to normal.

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