VS2010 打开时错误提示 ……VisualStudio/10.0/ActivityLog.xml

时间:2022-01-25 20:54:16
分类: C#.NET 930人阅读 评论(1) 收藏 举报

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'.

运行vs2010时,报上面的错误,在网上查找,做如下修改:

1.  uninstall VS
2.  After VS uninstalls, run the following commands from an eleveated command prompt:


 Run these if you're running 32-bit 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

Run these if you're running 64-bit 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.  Re-install VS (be sure to choose to install C# and/or VB langauges, otherwise the EF Designer won't be installed.