is it possible to include a binary in my project and use it?
Posted
by Adam S
on Stack Overflow
See other posts from Stack Overflow
or by Adam S
Published on 2010-06-09T18:28:17Z
Indexed on
2010/06/09
18:32 UTC
Read the original article
Hit count: 221
c#
|visual-studio
I have a binary that's used as a command-line tool to manipulate some files - tool.exe. I would like to include this in my Visual Studio 2008 project and use it from my C# code. I have it in a folder called "Resources" which also has some other files my project uses.
I would like to do something like Process myproc = Process.Start("Resources/tool.exe");
but I believe C# has an issue with this because it's looking in the file system rather than the project.
How can this be done?
© Stack Overflow or respective owner