这一般就是由于注册表中ie的项丢失。在网络上淘到了解决方案,清晰明了。
步骤:
1.打开注册表,找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths,发现iexplore.exe这个键丢失
2. 添加iexplore.exe这项
3. 改变(Default) REG_SZ 的值为 C:\Program Files\Internet Explorer\iexplore.exe
4. 新加 REG_SZ 值,设置其 Path 为 C:\Program Files\Internet Explorer
5. 重启visual studio
原文:
http://forums.silverlight.net/forums/p/82674/437438.aspx#437438
Navigating to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths I found that theiexplore.exe key was missing. So here's what I did:
- Added the iexplore.exe key to the registry.
- Changed the (Default) REG_SZ value to C:\Program Files\Internet Explorer\iexplore.exe
- Added a new REG_SZ value called Path and set it to C:\Program Files\Internet Explorer
- Restarted my Visual Studio.