Archived Forum Post

Index of archived forum posts

Question:

CS1705: Assembly ... which has a higher version than referenced assembly 'ChilkatDotNet4 ... ?

Mar 01 '13 at 17:03

I am currently deploying in a 64 bit Windows 2008 R2 Environment using Windows 7 64 bit as my development environment for a Chilkat FTP control. I have copied the Chilkatdotnet4.dll to the bin directory (VS 2010 .NET Framework 4.0 64 bit)

Here is the error message.

Compiler Error Message: CS1705: Assembly 'FC, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'ChilkatDotNet4, Version=9.4.0.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' which has a higher version than referenced assembly 'ChilkatDotNet4, Version=9.3.1.0, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd'

How do I solve this issue?


Answer

See: http://msdn.microsoft.com/en-us/library/416tef0c%28v=vs.80%29.aspx

It means that in your Visual Studio project, you are referencing the Chilkat v9.3.1 version of ChilkatDotNet4.dll, and therefore when you deploy your application, it must be with the same version of the DLL.

If you want v9.3.1, then make sure to deploy the v9.3.1 Chilkat assembly.

If you instead want v9.4.0, then update the reference within your Visual Studio project to reference the v9.4.0 assembly.