我试图从 c# windows 应用程序执行 ClearCanvas.Desktop.Executable exe,但出现“无法解析应用程序根类 ClearCanvas.Desktop.Executable - 不匹配”的错误。
下面是我在 C# windows 应用程序中的代码,
字符串[] args = 新字符串[2]; args[0] = "ClearCanvas.Desktop.Executable";
Process pro = new Process();
pro.StartInfo.FileName = @"D:\ClearCanvasWorkStation\Desktop\Executable\bin\Debug\ClearCanvas.Desktop.Executable.exe";
pro.StartInfo.Arguments = args[0];
pro.Start();
exe的根类名有问题。那么我需要将其设置为什么?