简体   繁体   English

VS2010和VS2008一起运行不正常

[英]VS2010 and VS2008 together won't run properly

I have VS2008 and VS2010 installed on my machine. 我的机器上安装了VS2008和VS2010。 Both works fine when there is only one IDE is running ie Vs2010 works fine when there is no Vs2008 instance opened and vice versa. 当只有一个IDE正在运行时,两者都工作正常,即当没有打开Vs2008实例时Vs2010工作正常,反之亦然。 When I run application from VS2008/2010 in debug mode I get below error message 当我在调试模式下从VS2008 / 2010运行应用程序时,我收到以下错误消息

Unable to connect to Asp.net development server. 无法连接到Asp.net开发服务器。

Even doing iisreset doesn't solve this, I need to restart my machine and then work on only one IDE at a time. 即使执行iisreset也无法解决此问题,我需要重新启动计算机,然后一次只能处理一个IDE。 My development machine has win7 & IIS7. 我的开发机器有win7和IIS7。

The IDEs are probably trying to use the same port. IDE可能正在尝试使用相同的端口。 Check the icons of the Development servers in the notification area to see what port each of them is using. 检查通知区域中的开发服务器的图标,以查看它们各自使用的端口。 This gives details about how to change it. 提供了有关如何更改它的详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM