SharpDevelop icon indicating copy to clipboard operation
SharpDevelop copied to clipboard

Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The system cannot find the file specified. File name: 'ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73'

Open vamshi10 opened this issue 11 years ago • 4 comments

Hi,

We upgraded our SharePoint 2010 solution which was running on .Net 3.5 framework to SharePoint 2013 .Net 4.5 framework. We had the sharpzip lib dll running on .net 2.0 which when I copied to the new version didn't work. It gave me the same error as above but with the earlier version 0.86.0.518. I Instead added the 0.85.4.369 version from Manage NuGet package option under references and it still gives me the above error whenever I try to zip files by clicking on a button. Could you please advise on how to get it working.

Thanks, Vamsi

vamshi10 avatar Nov 20 '14 23:11 vamshi10

Open your .csproj project file in a text editor. Search <Reference> element of that dll. If its Include attribute contains a version number, and also has no <SpecificVersion>False</SpecificVersion> child element Then the project must link with specific version. You can set SpecificVersion to False, or simply remove the version constraint in Include atttribute

linquize avatar Nov 21 '14 11:11 linquize

Were you able to resolve this?

Lienaj avatar Jun 08 '15 17:06 Lienaj

Yes. Please mark it as resolved.

Thanks,

Vamseedhar Kalam |Senior Applications Programmer Analyst/Lead SharePoint Administrator

LNR Property LLC

1601 Washington Avenue |Suite 800

Miami Beach |FL 33139

Phone: 305-695-5816 |Fax: 305-695-5849

[email protected]:[email protected]

From: Lienaj [mailto:[email protected]] Sent: Monday, June 08, 2015 1:19 PM To: icsharpcode/SharpDevelop Cc: Vamsi Kalam Subject: Re: [SharpDevelop] Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73' or one of its dependencies. The system cannot find the file specified. File name: 'ICSharpCode.SharpZipL...

Were you able to resolve this?

— Reply to this email directly or view it on GitHubhttps://github.com/icsharpcode/SharpDevelop/issues/605#issuecomment-110081317.

vamshi10 avatar Jun 08 '15 17:06 vamshi10

Hi, I have faced similar issue and tried as suggested (linquize ) by removing version from reference include, but din't worked. Finally i found solution , that is some other projects in solution have different version (0.86.0.518) and error thrown project had different version (0.85.4.369) and other project reference added in this project.

when you build solution you can find version conflicts in out put window (just find with ICSharpCode.SharpZipLib ). get the right version and add same version dll in all projects (or add into your error thrown project ).

I did same, issue got resolved.

Thanks, Krish D

doddapkr avatar Aug 17 '20 18:08 doddapkr