Hello, everyone! I'm using Visual Studio 2010, and I'm using the DotNetZip library to compress and extract .zip files in my application. For my purposes, the only reference that DotNetZip needs to function properly is a single .dll file called Ionic.Zip.dll. In my project, I have a folder called References. This folder contains the Ionic.Zip.dll file.

The problem is that whenever I compile my application, the Ionic.Zip.dll file is copied to the output directory. If I disable this option and do not copy the .dll to the output directory, my program will not run properly because it cannot access the file types and methods that the .dll file gives me access to. I want to embed the .dll file into my program so that I can distribute a single EXE file, put it on any computer with the .NET Framework 4 installed, and run the program with no problems whatsoever.

I have been searching the web for quite a while now, trying different solutions but not finding anything that works for me. Can anyone please help? Thanks in advance for any help!