This project has moved and is read-only. For the latest updates, please go here.

Demo runs fine but not new project

Topics: General Topics
Oct 18, 2006 at 6:15 AM

I am getting an error when I start a new project add references to sharpmap (2 DLLs) and add the component to the toolbox and drop an instance on the form and just run it...

An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load type 'SharpMap.Map' from assembly 'SharpMap, Version=, Culture=neutral, PublicKeyToken=null'.

I am using (vs 2005).. although the demo app that I downloaded works fine..

Can someone please point out what is amiss?

Oct 18, 2006 at 11:28 PM
It sounds like the assembly is not being loaded by the project. Do you have both DLLs in the bin\Debug folder?
Oct 21, 2006 at 8:39 AM

Yes I have them in all the bin folders... it compiles ok .. so I understand it has all the necessary references .. isnt it?

Oct 22, 2006 at 10:20 PM

What type of project are you using for your web-project?
The new WAP-project type or the standard file based?

Oct 31, 2006 at 10:18 AM

Now this would sound stupid .. but I think the installation of VS.Net is at fault.. I ran on a collegue's machine .. and it ran fine ..

This component is great!