Вопрос

How do you call or use these files you created in your solution explorer

the code that I am using at the moment is:

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

I'm am trying to use them from my solution explorer any help will be appreciated

Это было полезно?

Решение

If you want to get the location of your current executing assembly, I suggest you use AppDomain.CurrentDomain.BaseDirectory

Best way to get application folder path

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top