Demo runs fine but not new project

Topics: General Topics
Oct 18, 2006 at 5:15 AM
Hi,

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=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

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

Can someone please point out what is amiss?

Thanks!
Coordinator
Oct 18, 2006 at 10: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 7:39 AM
Hello,

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

Thanks!
Husain
Coordinator
Oct 22, 2006 at 9:20 PM
Hi,

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

BR
/Christian
Oct 31, 2006 at 9:18 AM
Hi,

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!

Thanks!!
Husain