문제

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