I wrote an EXE that uses a third-party DLL and an Excel document. Every time someone uses this, they have to copy all three files (which is a pain).
Is there a way to pack everything that is needed in an exe to worry about a single file?
This is what ilmerge is used, at least for merging assemblies. Here is more information here and here .
There are several known issues with this, however.
visual studio Build Action None Copy to Output directory Copy always.
Build Action
None
Copy to Output directory
Copy always
. (Visual #)
.
, dll: Copy Local true .
Copy Local
true
, . VS, exe, .
- ( " " > "" ), global::Resources.resourceFile ( , , ) .
global::Resources.resourceFile
Installing the software is a pain, but I think you can get rid of the xcopy style deployment using the compression tool of your choice (like winzip) and creating a self extracting executable.