BootstrapPackage did not load correctly VS 2010

前端 未结 6 671
盖世英雄少女心
盖世英雄少女心 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: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,

提交回复
热议问题