最近更換開(kāi)發(fā)機(jī)的環(huán)境,從Windows XP換到Windows 7,結(jié)果以前在XP下的一個(gè)VS2008的一個(gè)插件項(xiàng)目在新環(huán)境中編譯老是出錯(cuò):
Failed to retrieve paths under VSTemplate for the specified registry hive
在網(wǎng)上搜索了一番,終于找到一篇文章介紹的解決方案:
運(yùn)行Vs2008 SDK-〉Tools-〉Reset the Microsoft Visual Studio 2008 SP1 Experimental hive
然后重新編譯就OK了。