I have a program I am writing and it makes calls like
- System.Diagnostics.Process videoprocess = new System.Diagnostics.Process();
- System.Diagnostics.ProcessStartInfo videostartInfo = new
- System.Diagnostics.ProcessStartInfo
- {
- WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden,
- FileName = "cmd.exe",
....
But then it calls a third party exe file that I have sitting in a temp folder. It's not something I built or compiled or is even C# based. Is there a way to package in Visual Studio 2019 other files that I use rather than having to remember to install them somewhere when I am done writing the program and move it to another computer?
Also note this particular program in general the exe sits in a folder when extracted called bin. It also has a utils folder with Python files in it and the executables apparently assume the python files are in a utils folder at the same level of the bin folder when it looks for it. Plus apparently I need to have Python in the path for the computer this program is running on. Not sure if that's relevant but in case there is a way to have all this just work would be great.