0

您如何调用或使用您在解决方案资源管理器中创建的这些文件

我目前使用的代码是:

  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"
        });

我正在尝试从我的解决方案资源管理器中使用它们,任何帮助将不胜感激

4

1 回答 1

1

如果您想获取当前执行程序集的位置,我建议您使用AppDomain.CurrentDomain.BaseDirectory

获取应用程序文件夹路径的最佳方法

于 2014-04-27T18:26:48.313 回答