icsharpcode / SharpDevelop

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
2.09k stars 773 forks source link

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' #605

Open vamshi10 opened 9 years ago

vamshi10 commented 9 years ago

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

linquize commented 9 years ago

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

Lienaj commented 9 years ago

Were you able to resolve this?

vamshi10 commented 9 years ago

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

vkalam@lnrproperty.commailto:vkalam@lnrproperty.com

From: Lienaj [mailto:notifications@github.com] 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.

doddapkr commented 4 years ago

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