用vs2010打开以前的一个vs2008做的项目是出现:没有正确加载一个Design.BootstrapPackage。Public……如图 5
3个回答
展开全部
安装了VS2010,打开工程提示如下:
The 'Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly.The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:/Users/Administrator/AppData/Roaming/Microsoft/VisualStudio/10.0/ActivityLog.xml'
连续卸载重装不凑效,在网上看见有位大神发了此贴,特次表示感谢,希望更多的人从这个泥潭中走出来,几个晚上伤不起啊伤不起
解决办法:
1. 卸载VS2010(只卸载VS2010即可,SQLServer那些都可以不动)
2. 卸载完毕后执行以下命令(无需重启):
32位Windows:
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
64位Windows:
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
上面命令无法执行的(反正我是无法执行),直接在注册表编辑器里找到这几个地方,删除!
3. 重新安装VS2010。搞定!
The 'Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly.The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:/Users/Administrator/AppData/Roaming/Microsoft/VisualStudio/10.0/ActivityLog.xml'
连续卸载重装不凑效,在网上看见有位大神发了此贴,特次表示感谢,希望更多的人从这个泥潭中走出来,几个晚上伤不起啊伤不起
解决办法:
1. 卸载VS2010(只卸载VS2010即可,SQLServer那些都可以不动)
2. 卸载完毕后执行以下命令(无需重启):
32位Windows:
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
64位Windows:
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
上面命令无法执行的(反正我是无法执行),直接在注册表编辑器里找到这几个地方,删除!
3. 重新安装VS2010。搞定!
展开全部
先卸载VS2010,然后清除注册表相关项,再装VS,具体看参考资料
参考资料: http://blog.csdn.net/aikesi117/article/details/6162798
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
是不是原来的这个dll有升级啊。
追问
应该没有吧,前面我卸载过一次,想着应该重新安装一下就好了,但是不行,还是出现错误。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询