AnsweredAssumed Answered

Is there a log for add-ins that don't load properly on startup

Question asked by Michael Moore on Jul 18, 2018
Latest reply on Jul 19, 2018 by Amen Allah Jlili

Hello,

 

I have a SOLIDWORKS add-in that I'd created a while back, in Visual Studio with a WiX installer.  It's worked for a long time, but I made some major updates (.NET version, etc) recently.  The problem I'm seeing is when I debug the add-in through Visual Studio, everything works great.  When I create the installer and run it normally, the add-in shows up in the list, but fails to load.  When I've seen this before, it's typically a project DLL I'd forgotten to add to the installer, but I'm pretty sure that's not the case (I tested by copying the full list of files from the bin directory over to the install location and restarting SOLIDWORKS - same result). 

 

Is there any place SOLIDWORKS tracks add-in loading, where I could see why it's failing?  I added some event viewer logging to my ConnectToSW method, but it never gets hit (only when I am debugging).

 

Thanks!

Mike

Outcomes