未能正确加载包“Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了未能正确加载包“Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage相关的知识,希望对你有一定的参考价值。
本文出处:http://blog.sina.com.cn/s/blog_6fe3efa301016i64.html
vs 2005 ,vs 2008, vs 2010,安装后有时出现这个错误(我的机器装的x64的win7),很烦人。找了很多地方都不能解决。其实说起来还是开发国家牛,轻易就解决了这个问题。其实出现这个问题的原因并不是卸载不彻底,而是做了相关的注册表清理,将vs工具箱所依赖的设置改变了。具体原因本人不甚了解,仅附上解决办法:
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/s
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/s
reg query
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query delete
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/s
reg delete
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/f
reg delete
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f
reg delete
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/va /f
reg delete
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/f
reg delete
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f
reg delete
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/va /f
reg delete
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/f
reg delete
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f
reg delete
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/va /f
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/s
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/s
reg query
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query delete
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}
/v
{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
reg query
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}
/s
将上述代码复制到cmd下即可~如果一般不行来两遍,另外附上网址,方便以后解决类似的情况。
以上是关于未能正确加载包“Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage的主要内容,如果未能解决你的问题,请参考以下文章
vs2015未能正确加载“ProviderPackage”包。
sqlserver2008启动出错:未能加载包,该如何解决呢?
解决方法未能正确加载“VaCodeInspectionsPackage”包
未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”包