Topics: WinForms Controls
May 3, 2010 at 11:29 AM

Hi i downloaded the samples and try to run the WindormsSample with WMS server it compiles correct but when i try

to run it doesn't found the SharpMap.UI.dll .

I have it in the references and it is the correct version.

The error is

Could not load file or assembly 'SharpMap.UI, Version=0.9.3575.26260, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Any ideas

May 3, 2010 at 3:37 PM
Did you try clean solution and rebuild solution? Paul
May 3, 2010 at 7:25 PM

Yes paul i clean and rebuild i use VS 2008

May 3, 2010 at 8:53 PM
are you on a 64 bit machine?
May 4, 2010 at 5:37 AM

Yes windows 7 64bit


Apr 11, 2012 at 8:11 AM

Hey pskondras, Chk out for the web.config file. The value for public key token in the <assemblies> section for SharpMap.UI should match the aspx page reference.