Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

AddIn startup path

$
0
0

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"/>
</Path>

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?


Viewing all articles
Browse latest Browse all 1764

Trending Articles