Problem using SHARPZIPLIB

  • Thread starter Thread starter Rodrigo Gomes
  • Start date Start date
R

Rodrigo Gomes

Hello,

anyone have already used SHARPZIPLIB inside a CF project ? I'm having some
problems with it.
I installed ICSharpCode.SharpZipLib.dll to GAC with gacutil. Then added the
ICSharpCode.SharpZipLib.dll to my project references and used as samples
files do.

But when I call this part of code an error pops up:
"File name or module (assembly) 'System, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089', or a dependency file
wasn't found."

May I have to do something else. Anyone could help me on that ?

Thanks in advance,
Rodrigo Gomes

C# Code
using ICSharpCode.SharpZipLib.Zip;
....

FastZip fz = new FastZip();
fz.CreateZip("MSNG.zip", "\\Program Files\\Mobile", false, ""); // Error
Line

....
End
 
You're trying to use desktop assembly on NETCF. Note PKT of missing
assembly:

Desktop PKT: B77A5C561934E089

NETCF PKT: 969DB8053D3322AC

You can't use assemblies compiled for desktop on NETCF.

If this library has special NETCF version, you should use it instead.

If there's no such version, you can't use it at all.

--
Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
I've found a way to compile that.
Thanks.

Ilya Tumanov said:
You're trying to use desktop assembly on NETCF. Note PKT of missing
assembly:

Desktop PKT: B77A5C561934E089

NETCF PKT: 969DB8053D3322AC

You can't use assemblies compiled for desktop on NETCF.

If this library has special NETCF version, you should use it instead.

If there's no such version, you can't use it at all.

--
Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Back
Top