There are two registry keys that can affect the load time of the add-in: LoadBehavior
and Warmup
. Read about them here .
Set LoadBehavior to 9 (Load on demand) so that your add-ons load when they are first used, and not when Word starts, thereby reducing the startup time of Word.
Setting Warmup to 1 may help. This will cause the .NET environment and the VSTO runtime to load before your add-in to "reduce the perceived time to load the add-in." (Personally, Iโm not sure how much of this effect has. My load loads are very fast, so I didnโt see a boost from using this setting.)
In general, itโs strange that your add-in takes a very long time to load. I suggest that you carefully study the code that runs when the add-in loads (constructors, load events, etc.).
Keith source share