Joel Doerr Posted September 19, 2003 Posted September 19, 2003 This should be a simple question answered by most of you. I am trying to add zip compression to my app and downloaded a utility from: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx I ran the command: gacutil /i ICSharpCode.SharpZipLib.dll Microsoft ® .NET Global Assembly Cache Utility. Version 1.1.4322.573 Copyright © Microsoft Corporation 1998-2002. All rights reserved. Assembly successfully added to the cache Downloaded the vb samples and loaded the CreateZipFile project. In the code editor there are Import statements: Imports ICSharpCode.SharpZipLib.Checksums Imports ICSharpCode.SharpZipLib.Zip Imports ICSharpCode.SharpZipLib.GZip But the code editor displays these as syntax errors. It says: Namespace or type 'Checksums' for the Imports 'ICSHarpCode.SharpZipLib.Checksums' cannot be found. Do I have to copy the ICSharpCode.SharpZipLib.dll somewhere? Quote
Administrators PlausiblyDamp Posted September 19, 2003 Administrators Posted September 19, 2003 You need to set a reference to it. In visual studio right click the project and do 'Add Reference'. Then browse to the DLL Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Joel Doerr Posted September 19, 2003 Author Posted September 19, 2003 Great! That worked. Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.