C# - Messageboxes do not display in compiled app, work in debugger

52 Views Asked by At

I've got a Windows Forms application that works as an add-in for Outlook using Add-in Express. I inserted some debugging code that throws up messageboxes with status reports, and this works fine while I'm debugging in Visual Studio, or when I install the app on my own machine.

My B.A. is trying to test the app, but when she installs it, none of the messageboxes display.

A couple routes I've been exploring:

  1. She doesn't have Visual Studio installed on her machine. Perhaps there's something missing in the installation?

  2. The messageboxes are called inside a utility class, so even though I have Windows.Forms referenced, I've seen hints online that this can be problematic.

I appreciate any ideas. Thanks.

[edit]

Just tried an install on a VM with no Visual Studio installed, and the messageboxes appear just fine, so it's not #1 above.

0

There are 0 best solutions below