首页 > 代码库 > vs2010安装后打开提示 未能正确加载包“Microsoft.Data.Entity.Design

vs2010安装后打开提示 未能正确加载包“Microsoft.Data.Entity.Design

将如下代码复制粘贴到cmd下运行一次或多次即可:

 

reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/s

reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/s

reg queryHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg query deleteHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/s

reg deleteHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/f 
reg deleteHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f
reg deleteHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/va /f 

reg deleteHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/f 
reg deleteHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f
reg deleteHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/va /f 

reg deleteHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/f 
reg deleteHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v {7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} /f
reg deleteHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/va /f 


reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/s

reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/s

reg queryHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{adfc4e66-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg query deleteHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\AutoLoadPackages\{93694fa0-0397-11d1-9f4e-00a0c911004f}/v{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB} 
reg queryHKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0_Config\Packages\{7A4E8D96-5D5B-4415-9FAB-D6DCC56F47FB}/s

vs2010安装后打开提示 未能正确加载包“Microsoft.Data.Entity.Design