May 22, 2013 at 7:35 PM
Hi everybody.

I have built a GIS application using Dotspatial. I am able to open Dotspatial projects (*.dspx),Images maps, PDF maps, but I can't open a mapwindow project. I tried to use the plugin Dotspatial.Plugins.MapwindowProjectFileCompatibility to open the mapwindow project but I failed.

Is there any possibility to do it please ?
May 22, 2013 at 9:38 PM
Dotspatial.Plugins.MapwindowProjectFileCompatibility was created based on an earlier version of MapWindow 4. The MapWindow 4 project file has evolved in a non-backward-compatible way since then. It should be possible for someone to update MapwindowProjectFileCompatibility to also be able to read newer project files, but it would take some effort.
May 23, 2013 at 8:40 AM
I think it will be very difficult, beacause when I wrote the code below :

OpenProjectMwprj mwprjOpener = new OpenProjectMwprj();
mwprjOpener.App = appManager1;
            catch (IOException exIO)
                MessageBox.Show(this, "Could not open the specified map file " + ProjectName + Environment.NewLine + Environment.NewLine + exIO.Message, "Error",
                                MessageBoxButtons.OK, MessageBoxIcon.Error);
I always got this error : RuntimeBinderException: Cannot apply indexing with [] to an expression of type 'DotSpatial.Plugins.MapWindowProjectFileCompatibility.DynamicXMLNode'

Which I didn't find the solution .

Anyway Thanks for your explanation vatavian.