1

I have an executable with dll dependencies that I am using in my program and I want to be able package the other exe and dlls together with my application. This is a c# application and I am not sure what the other exe is (c# or c++).

As of now, I am just referencing an external file (C:\blah\bin\blah.exe) with the exe and dlls, but this won't work once other people start using the application and will need the exact exe file location.

Is there a good way for me to embed this exe into my application?

user1634494
  • 609
  • 1
  • 7
  • 23
  • 1
    @paqogomez, I think then he'd need to save it to disk somewhere in order to run it. (Sounds like he's using Process.Start.) Better would be to make it a "Content" item in his project so that it gets copied by the installer. (Do ClickOnce installers copy "Content" files? I don't know for sure.) – adv12 May 26 '15 at 18:22
  • You could also build an installer that deploys the dependancies to the same install location (or a known location, such as user app data). – crashmstr May 26 '15 at 18:25