如何调用或使用您在解决方案资源管理器中创建的这些文件
我目前使用的代码是:
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo()
{
FileName = path + "\\Console\\Hallo\\SWIR\\Dump.exe",//Path is a string that is my current path this is my exe's launch piont
UseShellExecute = true,
Verb ="open"
});
我正在尝试从我的解决方案资源管理器中使用它们,我们将不胜感激
答案 0 :(得分:0)
如果您想获取当前正在执行的程序集的位置,建议您使用AppDomain.CurrentDomain.BaseDirectory