I want to embed an exe of mine into another of my project. When I want to add the file as "Add reference"->Browse->my.exe
.NET give the following erro: A reference to %myexepath% could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.
I want to ask what I should do? Is it impossible to embed my executable?
You may comment to call the process, not embed but I really want to embed it.
I am using VS 2008 but if it is possible I can switch to VS 2010 for this.