开发者

Don't start ASP.NET Development Server when running non-web projects

开发者 https://www.devze.com 2023-01-02 08:06 出处:网络
I have a solution with a few projects in it, one of which is a web site. When I run one of the non-web projects (e.g. a console app), the ASP.NET Development Server start开发者_JAVA百科s up anyway.

I have a solution with a few projects in it, one of which is a web site. When I run one of the non-web projects (e.g. a console app), the ASP.NET Development Server start开发者_JAVA百科s up anyway.

I'm sure there was an option for this somewhere - how do I make the ASP.NET Development Server start only if I am running the web project?


Yes, if you select the project, there is a start when debugging option (or similarly named) in the project properties window in VS; setting this to false disables this.

HTH.

0

精彩评论

暂无评论...
验证码 换一张
取 消