Display VSTO Error Messages
A very helpful trick is to set an user environment variable called VSTO_SUPPRESSDISPLAYALERTS to 0, this gives you more detailed information what’s going wrong during runtime.
Hello, World ! :-)
A very helpful trick is to set an user environment variable called VSTO_SUPPRESSDISPLAYALERTS to 0, this gives you more detailed information what’s going wrong during runtime.
If some of the components don’t load correctly and seem to do really nothing, you’ve a great chance that one or more of the required dependencies can’t be loaded.
Windows offers you a possibility to inspect what exactly happens when the assemblies are loaded (or not *g*)…The fusion log.
To enable the fusion log, create a directory to retrieve the log’s output, let’s say c:\fusionlog.
Now, several registry keys need to be set in order to enable the logging:
There’s a tool called “Assembly Binding Log Viewer” available in the .NET Framework SDK, for more information look here.