This project is read-only.

Error while activating dotspatail Plugins

Jul 3, 2015 at 7:38 PM

I'm new to programming and dotspatial 1.7.

I made an application and all the basics work fine (legend, map, symbology etc) work great except toolbox.

When I try to load extensions, I get the following error.

Error while activating dotspatail.plugins.webmap.webmapplugin, DotSpatial.Plugins.Webmap, Version=, Culture=neutral, PuyblicKeyToken=null

(this happens with other extensions as well)

some other extensions work fine like the GDAL (so I know some extensions are loading)

How do I get past the "Error while activating" issue? What am I doing wrong or forgetting to do? I've been reading for days on this site and google searches. I can't figure this out

Please help!
Jul 6, 2015 at 5:53 PM
Did you set the Shell like shown below? If not some of the Extensions might throw errors.

[Export("Shell", typeof(ContainerControl))]
    private static ContainerControl Shell;

    public MainForm()

        if (DesignMode) return;
        Shell = this;
If you did set the shell your error might come from a missing DockManager, HeaderControl or StatusControl.
Marked as answer by jany_ on 7/8/2015 at 10:40 PM
Jul 8, 2015 at 10:10 PM
Thank you so much, your solution worked perfectly!