perlnewbie9292
Programmer
Hello,
I am pretty new to C#. I am trying to figure out a few things.
I dragged a binary (which is console application) to my project. This cosole APP will be required to be installed/be part of the project when I do a build. Is this the right to do this, I want it to be copied when the user runs through the install.
My other question is how to I call/access this binary in my project after I drag it into project explorer? At the moment while testing I was pointing to via its path. Sample code below
For example:
So with the code above I imported this into my project and want it to be deployed as part of the build, how would I call/access this binary when declaring the string: parserConsoleApp? What is the path change to once it's imported into the project.
Thanks for the help in advanced.
I am pretty new to C#. I am trying to figure out a few things.
I dragged a binary (which is console application) to my project. This cosole APP will be required to be installed/be part of the project when I do a build. Is this the right to do this, I want it to be copied when the user runs through the install.
My other question is how to I call/access this binary in my project after I drag it into project explorer? At the moment while testing I was pointing to via its path. Sample code below
For example:
Code:
#decode.exe is the cosole app I want added to the project
#what will the path be once it's imported to the project?
string parserConsoleApp = @"C:\decode.exe";
Process newProcess = new Process();
newProcess.StartInfo.FileName = parserConsoleApp;
So with the code above I imported this into my project and want it to be deployed as part of the build, how would I call/access this binary when declaring the string: parserConsoleApp? What is the path change to once it's imported into the project.
Thanks for the help in advanced.