BootstrapPackage did not load correctly VS 2010

前端 未结 6 554
盖世英雄少女心
盖世英雄少女心 2021-02-07 23:55

I just installed VS 2010 v 10.0.30319.1 RTMRel on 64bit Win7 Ultimate and keep receiving the following error when I try to open a web project. I have repaired and reinstall but

相关标签:
6条回答
  • 2021-02-08 00:23

    I've had same problem, i solved it by rapairing it from "Control Panlel" clicking "Change/Remove" and tan choosing "Repair". BTW i'm using Win XP but i think that uninstallers in Visual Studio are the same. So.. Good luck!

    0 讨论(0)
  • 2021-02-08 00:25
    1. From tools menu in VS2010 select Import and Export Settings...
    2. Select the last option, reset settings.
    3. Save them, why not :)
    4. Select a canned default, such as Visual C#.
    5. Post your differences here, so that you know what to re-enable, and Microsoft people know what needs to be fixed.
    0 讨论(0)
  • 2021-02-08 00:31

    I've managed to completely remove VS 2010 from my computer using official utility and then reinstall it. Problem disapeared.

    0 讨论(0)
  • 2021-02-08 00:33

    This was happening to me as well. In my case I installed Visual Studio on my D drive which is not my system drive. After reading a link found in ChiliYago's blog post I found that the root cause was that files were missing from %ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE (Which is what the error message says).

    In my case, the missing files were installed in C:\ProgramFiles (x86)\Microsoft Visual Studio 10.0\Common7\IDE and not D:\ProgramFiles (x86)\Microsoft Visual Studio 10.0\Common7\IDE. My solution was to copy the missing .dlls from the install directory on the C drive to the install directory on the D drive, and the error stopped happening.

    I had previously installed an Express edition of C# and un-installed it before adding Visual Studio 2010, this may have contributed to the problem for me.

    0 讨论(0)
  • 2021-02-08 00:36

    Tried the uninstall and reinstall of Visual Studio 2010… Still that had the damn annoying message about the Missing Assembly.

    Looked on the C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ Directory which only showed: Microsoft.Data.Entity.Design.DLL

    Installed a LOT of Windows Server 2008 files (32 Bit OS) in regards to SQL Server 2008… ADO.Net, etc… STILL didn’t solve the issue! GRRRRRRR!

    So I finally fixed the issue by reading between the lines. See the details below on how I resolved this issue…

    This points to the MISSING Assembly: Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

    HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/10.0/Packages/{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}

    Renamed Key to: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/10.0/Packages/{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}-123

    Problem Solved for now in Visual Studio 2010!

    Hope this helps someone else resolve this issue!

    0 讨论(0)
  • 2021-02-08 00:47

    In my case, I Installed Entity Framework June 2011 and then uninstalled it. After this I had this problem.

    Nothing found in internet worked and when I was going to format I found in the directory: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\CommonExtensions\ these 2 files:

    Microsoft.Data.Entity.Design.BootstrapPackage.pkgdef

    Microsoft.Data.Entity.Design.Package.pkgdef

    Here is when VS 2010 is trying to load the library that cannot load.

    I have another PC with Entity Framework 4.0, and it doesnt have these files, so I have moved them out to the desktop. Now Visual Studio is loading the project succesfully.

    On the other hand, my problem also was that If I choose to hide the error message then Entity Framework 4.0 didn't create the .Designer.cs of the Model. then when I tried to add the Domain Service Class to the project, the context class didnt appear (but yes in another machine with the same project and same database).

    Now that I have not the error message everything looks working good.

    I hope it helps others because I have had this problem during weeks.

    Best Regards,

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