Start plugin at startup

I’m trying to make my plug-in load at startup. I’ve added the following lines to my class:

        public new PlugInLoadTime LoadTime;
        public MyPlugIn()
        {
            LoadTime = PlugInLoadTime.AtStartup;
        }

However, it does not seem to work. Any ideas?
Thanks,
Victor

You must override, not use new.

public override PlugInLoadTime LoadTime 
{
  get { return PlugInLoadTime.AtStartup; }
}
1 Like

Perfect, I combined it with this other post from you:

Thanks,
Victor

1 Like