当调试ASP.NET应用程序,如何结束调试会话Firefox何时关闭?应用程序、结束、ASP、NET

2023-09-04 08:43:15 作者:麻烦你对我心动好吗

还在寻找解决方案,请大家帮忙的

我不同意大家,但发生的事情与IE浏览器不能是与我在找一些设置其他任何浏览器/选项,这样它会尽快杀死进程Firefox窗口被关闭

原始邮件

大家好,

我要设置Mozila火狐狸为我的默认Web浏览器的.NET应用程序。问题是,该应用程序继续运行模式,即使我关闭浏览器窗口。它不是相同的IE浏览器。

I am going to set Mozila fire fox as my default web browser to .net applications. The problem is that the application keep on running mode even I close the browser window. Its not the same with IE.

因为某种原因,我不得不使用火狐,而不是IE

For certain reasons I have to use Fire Fox instead of IE

有没有什么办法可以关闭应用程序(停止)当Firefox窗口被关闭(不被击中明确项目窗口中的停止按钮)

Is there any way to close the application (stop) when the Firefox window is closed (not by explicitly hitting the stop button on the project window)

推荐答案

配置你的Web应用程序项目的开始行动启动外部程序,指向它的Firefox,设置命令行参数到你的网站。例如,

Configure you Web Application project's Start Action to "Start external program", point it to firefox, set command line arguments to your site. E.g.

Start external program: C:\Program Files\Mozilla Firefox\firefox.exe
Command line arguments: http://localhost:8888/

这是否满足您的需要?

Does this fit your needs?