VS2005/2008 未能正確載入包的解決方法(備忘)
今天開啟VS2005IDE,載入工程的時候出現一下錯誤。
The Windows Forms Designer Package ({7494682B-37A0-11D2-A273-00C04F8EF4FF}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt.
The Visual Studio Common IDE Package ({6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C}) did not load because of previous errors. For assistance, contact the package vendor. To attempt to load this package again, type 'devenv /resetskippkgs' at the command prompt.
工程-》右鍵-》屬性,報錯退出。
2008同樣報錯。
在各自的命令提示下輸入 devenv /resetskippkgs不好用。
REGEDIT開啟登錄檔,搜尋{6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C},找到InprocServer32:D:\WINDOWS\system32\mscoree.dll
然後在命令列提示下進入windows\system32,輸入regsvr32 mscoree.dll
重新在各自的命令提示下輸入 devenv /resetskippkgs
開啟IDE,載入工程,OK!