Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: LoadExtension error

$
0
0
Did you set Shell like shown below before you loaded the extensions?
using System.ComponentModel.Composition;
using System.Windows.Forms;
using DotSpatial.Controls;

public partial class MainForm : Form
    {
        [Export("Shell", typeof(ContainerControl))]
        private static ContainerControl Shell;

        private AppManager appManager;

        public MainForm()
        {
            InitializeComponent();
            appManager = new AppManager();
            Shell = this;
            appManager.LoadExtensions();
        }
    }

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>