bigfoot3d
Well-known member
The project that I am currently working on uses the ICSharpCode.SharpZipLib implementation.
I am going to embed the dll file as a resource file, but I am not sure how to reference it so that I do not need to include the DLL file when distributing the exe.
When I used it as a simple reference file I could easily use
However when I remove the reference the lines above throw warnings such as:
Namespace or type specified in the Imports 'ICSharpCode.SharpZipLib.Checksums' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Along with 'ICSharpCode.SharpZipLib.Zip' and 'ICSharpCode.SharpZipLib.GZip'
And lines such as
are no longer valid because "ZipOutputStream" and "ZipEntry" are no longer defined.
How would I correctly reference the embedded DLL files so as to make the warnings and errors go away?
Thanks once again!
I am going to embed the dll file as a resource file, but I am not sure how to reference it so that I do not need to include the DLL file when distributing the exe.
When I used it as a simple reference file I could easily use
VB.NET:
Imports ICSharpCode.SharpZipLib.Checksums
Imports ICSharpCode.SharpZipLib.Zip
Imports ICSharpCode.SharpZipLib.GZip
However when I remove the reference the lines above throw warnings such as:
Namespace or type specified in the Imports 'ICSharpCode.SharpZipLib.Checksums' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Along with 'ICSharpCode.SharpZipLib.Zip' and 'ICSharpCode.SharpZipLib.GZip'
And lines such as
VB.NET:
Dim strmZipStream As ZipOutputStream
strmZipStream = New ZipOutputStream(strmZipFile)
Dim myZipEntry As ZipEntry
myZipEntry = New ZipEntry("ZippedFile")
How would I correctly reference the embedded DLL files so as to make the warnings and errors go away?
Thanks once again!