c# - Getting "Specified file cannot be found" error when mstest is invoked using Process.Start() -


 public bool invokemstest()  {     //string str = " /testcontainer: d:\\test.dll";     processstartinfo startinfo = new processstartinfo     {         filename = "mstest.exe",          workingdirectory = @"c:\program files (x86)\microsoft visual  studio 12.0\common7\ide\\",          useshellexecute = true,         //arguments = str,     };     process.start(startinfo);     return true; } 

when run method using console application, throws "the specified file cannot found" error when attempts process.start(startinfo). have confirmed mstest.exe exist in workingdirectory path provided. doing wrong? if copy same exe path , invoke, works fine. please help


Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -