未能正确加载 Microsoft.Data.Entity.Design.BootstrapPackage

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了未能正确加载 Microsoft.Data.Entity.Design.BootstrapPackage相关的知识,希望对你有一定的参考价值。

出错原因是,生成Excell表时,设置打印格式出错!

参考技术A 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.VisualStudio.Editor.Implementation.EditorPackage”

未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”

VS2012启动/加载项目出问题

 

未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage, Microsoft.VisualStudio.Editor.Implementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”包。

 

此问题可能是由配置更改或安装另一个扩展导致的。可以在命令行中使用 /log 参数来运行应用程序,然后检查文件“C:\\Documents and Settings\\Roman\\Application Data\\Microsoft\\VisualStudio\\10.0\\ActivityLog.xml”,获取详细信息。

 

原因按官方说法是:

contains files (on the Visual Studio 2010 directory) related to a previuosly removed Beta1 or RC release. It seems that the Installer does not overwrote all the older versions of GAC DLLs.

 

可能是我之前安装了VC2010 Express,卸载了之后没有重启动,但是重新装一遍未免太麻烦了。

 

这个解决办法挺好:

 

Try running this command in a Visual Studio 2010 command prompt. This fixes the problem for me.
 
D:\\Program Files\\Microsoft Visual Studio 11.0\\Common7\\IDE>devenv /resetuserdata

以上是关于未能正确加载 Microsoft.Data.Entity.Design.BootstrapPackage的主要内容,如果未能解决你的问题,请参考以下文章

请教vs2010提示未能加载包的问题,怎么解决?

vs2015未能正确加载“ProviderPackage”包。

未能正确加载“Microsoft.VisualStudio.Editor.Implementation.EditorPackage”

VS2010打开项目提示未能正确加载解决方案中一个或多个项目,请问怎么回事? 要交课程设计,突然出现此问题

未能加载文件或程序集“XXX.XXX”或它的某一个依赖项。试图加载格式不正确的程序。解决办法

解决方法未能正确加载“VaCodeInspectionsPackage”包