SharpZipLib - Error

1
Robert
10/25/2013 12:08 AM

Hello Wout,

Today I open my project which has been running just fine since many months and I get the error message as below:

"Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, PublicKeyToken=22aa93b221fe46e4' or one of its dependencies. The system cannot find the file specified."

My code where it traps the error:

Visual Basic Code:
 stream = File.Create(Filename + ".pdf")
        Dim pdfGraphics As PdfExporter = New PdfExporter(stream)
        pdfGraphics.DrawPage(
            model,
            GraphicsConfig.WhiteBackgroundCorrectForBackColor,
            to2DTransform,
            paperSize
        )
        pdfGraphics.EndDocument()    '  <==== here we get the error

....
Any Idea?
RR

Wout
10/29/2013 11:28 AM

Hi,

I can't tell from just the error message. I'd have to see all the dll's you are using. Can you check the ICSharpCode.SharpZipLib assembly version in your binary directory? If you can't fix it you'll have to e-mail me a small test application with all the dll's you are using so I can see what is wrong.

- Wout

1