打开工程提示如下:
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'
连续卸载重装不凑效
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
上面命令无法执行的(反正我是无法执行),直接在注册表编辑器里找到这几个地方,删除!
重新运行VS2010OK
2、重新初始化选择语言(重置开发环境)
从开始->进入VS2010->Visual Studio命令提示
devenv /resetuserdata
或vs2010 中-工具-导入导出->重置所有设置