First step in creating Gis application on C#

Feb 12, 2012 at 1:49 PM

I try to create application with MapWindow on C#

I do all like in tutorial, but when i start to debug i have an error

" An unhandled exception of type 'System.IO.FileNotFoundException' occurred in WindowsFormsApplication7.exe
Additional information: Could not load file or assembly 'MapWindow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Can not find the file specified."

What can i do? Help me, please ^)

Coordinator
Feb 13, 2012 at 8:54 AM

It is best to ask questions on the forum at http://www.mapwindow.org/phorum/index.php
You've now started a discussion on the list for v4.9 ;)

Most likely your problem is that you did not properly installed the ocx.
You should use the ocx-only installer to install all dependencies: http://mapwingis.codeplex.com/releases

--
Paul

Feb 13, 2012 at 9:47 AM

Paul, i reinstall mapwindow, now i can't find MapWindow.dll in any folder :(

Sorry for this post at this forum...

Coordinator
Feb 13, 2012 at 10:05 AM

MapWindow has several parts:

  • An executable (mapwindow.exe)
  • An ActiveX control (MapWinGIS.ocx)
  • And several plug-ins (.NET dlls)

If you refer to mapwindow.dll you might be using MapWindow6 which is not DotSpatial and has moved to a separate projects.

What installer did you install (version) and from which website?

--
Paul

Feb 13, 2012 at 10:40 AM

AT first i install http://mapwindow4.codeplex.com/releases and http://mapwindow6.codeplex.com/releases/view/80814 and http://mapwingis.codeplex.com/releases ...) 

after your post i uninstall that all i install just http://mapwingis.codeplex.com/releases // 

Coordinator
Feb 13, 2012 at 11:23 AM

Perhaps we should start with what you want to do and how you do it.

Can you do that on the other forum I've mentioned?

Thanks,

Paul

Feb 13, 2012 at 3:07 PM
Edited Feb 13, 2012 at 3:08 PM

Paul, sorry and thank you)

Now you can delete this post)