How can I programmatically run the ASP.Net Development Server using C#?

前端 未结 4 2002
傲寒
傲寒 2021-02-04 11:41

I have ASP.NET web pages for which I want to build automated tests (using WatiN & MBUnit). How do I start the ASP.Net Development Server from my code? I do not want to use I

4条回答
  •  孤街浪徒
    2021-02-04 12:16

    You can easily use Process Explorer to find complete command line options needed for manually start it. Start Process Explorer while debugging your website. For VS2012, expand 'devenv.exe' node. Right-click on 'WebDev.WebServer20.exe' and from there you can see Path and Command Line values.

提交回复
热议问题