I have created VSTO addin and have successfully deployed it to most machines in my office. The addin adds a command bar button to the standard tool bar. On select machines the addin crashes outlook on startup. I have the startup code enclosed in a try catch to handle possible errors but it seems I cannot handle this error.
EventType clr20r3, P1 outlook.exe, P2 11.0.8010.0, P3 43d16d53, P4 system, P5 2.0.0.0, P6 4333ae87, P7 5a2, P8 0, P9 system.io.filenotfoundexception, P10 NIL.When I strip out all code besides a msgbox call in the application startup method, the addin starts up fine and displays the msgbox, but then when outlook is closed the addin crashes outlook in a simmilar fashion as when it crashes on startup. I have been unable to find any differences between the affected machines and other machines in the office.