从asp.net mvc网页运行nunit gui



我正试图从asp.net mvc网页启动nunit gui应用程序(不要判断!)下面是控制器代码:

[AuthorizeUser]
    public class TestController : ApplicationController
    {
        //GET: /Test/Index/
        public ActionResult Index()
        {
            //start process.
            var process = new Process();
            process.StartInfo.FileName = @"H:NavtrakTestNUnitnunit.exe";
            process.StartInfo.Arguments = @"H:NavtrakTestTestCasesSystemTestbinDebugSystemTest.dll";
            process.Start();
            return View();
        }
    }

它实际上启动了nunit.exe(我可以在任务管理器中看到它),但是它是默默地这样做的。nunit gui应用不会显示出来。是否有一些设置上的进程,我错过了或这是有关启动它从一个MTAThread在ASP。净MVC吗?

您正在运行IIS吗?如果是,它将作为服务运行。您是否在"登录"选项卡上勾选了"允许服务与桌面交互"?

最新更新