The 'ProviderPackage' package did not load correctly

前端 未结 19 978
春和景丽
春和景丽 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:45

    I had the same issue in Visual Studio 2013 for Windows 8.1.

    The previous answers didn't work for me. I had to repair Visual Studio and then reboot my machine.

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

    Another suggestion,

    Run as admin, and restart the VS application.

    Apply package update. Reboot.

    Hope this helps!

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

    From MSDN forums:

    • Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE
    • Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
    • Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
    • Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.
    • Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.

    If still no help, I suggest you try repairing your Visual Studio installation or uninstall it and then reinstall it. If you want to reinstall it, I am afraid that you need a DVD or a fine Internet.

    Doing the first three steps works for me.

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

    In my case, I solve this problem by removing the Read-only attribute of the folder "Visual Studio 2015" in <C:\Users\myuser\Documents>.

    0 讨论(0)
  • Usually this can be fixed by clearing the Visual Studio cache under:

    Visual Studio 2012: %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache

    Visual Studio 2013: %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache

    0 讨论(0)
  • This is Aaron's (Aaron Reed) answer from above, just copied as an answer instead of part of the question:

    Fixed it... Fixed it... Fixed it...

    1. Opened Programs and Features (run: appwiz.cpl)
    2. Sorted list of installed apps by: Install Date
    3. Filtered list by adding "SQL" to the upper right search filter
    4. List item

    I installed VS2012 on 4/1/13, so I went through each listed SQL item in the list, and right click --> Repair

    From there I ran VS2012 and opened the target Solution file without issue.

    My list:

    • Microsoft SQL Server 2012 Data-Tier App Framework
    • Microsoft SQL Server Data Tools - enu (11.1.20627.00)
    • Microsoft SQL Server 2012 Management Objects (x64)
    • Microsoft System CLR Types for SQL Server 2012 (x64)
    • Microsoft System CLR Types for SQL Server 2012
    • Microsoft SQL Server 2012 Management Objects
    • Microsoft SQL Server 2012 Transact-SQL Compiler Service
    • Microsoft SQL Server 2012 Command Line Utilities
    • Microsoft SQL Server Data Tools Build Utilities - enu (11.1.206...
    • Microsoft SQL Server Compact 4.0 SP1 x64 ENU
    • Microsoft SQL Server 2012 T-SQL Language Service
    • Microsoft SQL Server 2012 Native Client
    • Microsoft SQL Server 2012 Data-Tier App Framework
    • Microsoft SQL Server 2012 Express LocalDB
    • Microsoft SQL Server 2012 Transact-SQL SpriptDom
    0 讨论(0)
提交回复
热议问题