SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

AddIn startup path

Last post 07-04-2014 2:37 PM by TobiW. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-04-2014 2:37 PM

    • TobiW
    • Not Ranked
    • Joined on 07-04-2014
    • Posts 1

    AddIn startup path

    Hi everyone!

    we are using SharpDevelop 4.3.1 and have written a few AddIns. As we are using Ninject as dependency injection framework, we need to load the kernel bindings of the addin as soon as the DLL is loaded. Until now, we have a command registered to "/Workspace/Autostart" which is loading the necessary kernel bindings for the addin.

    <Path name = "/Workspace/Autostart">
      <Class id = "MyAddInStartup" class = "Namespace.To.Startup.Command"/>

    But now all AddIns are loaded at startup even if the user won't need them. Is there a path in the AddInTree which is called just once when the addin-assembly is loaded for the first time?

    Filed under:
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this ( email address.