本文出处: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下即可~如果一般不行来两遍,另外附上网址,方便以后解决类似的情况。