What if I want to use DotNetZip in my app, but I don want to distribute it as a separate DLL?
You have options. The most mainstream and generally easiest way to embed DotNetZip into your application is to redistribute the DLL. But if you don’t want to do that, there are alternatives. One option is to embed the source for DotNetZip into your own project. This may seem like the obvious approach, but it is probably not what you want, unless you really need to modify the source of DotNetZip. A better approach is to merge the DLL into your EXE, with ILMerge: http://www.microsoft.com/downloads/details.aspx?familyid=22914587-b4ad-4eae-87cf-b14ae6a939b0&displaylang=en This works with your app regardless of what language it uses, whether it is a Winforms app, a WPF app, a service, etc.
You have options. The most mainstream and generally easiest way to embed DotNetZip into your application is to redistribute the DLL. But if you don’t want to do that, there are alternatives. One option is to embed the source for DotNetZip into your own project. This may seem like the obvious approach, but it is probably not what you want, unless you really need to modify the source of DotNetZip. A better approach is to merge the DLL into your EXE, with ILMerge. This works with your app regardless of what language it uses, whether it is a Winforms app, a WPF app, a service, etc.