Signed Managed Outlook Add-In Not Working

C

Chris Newby

I recently created an Outlook Add-In using Visual Studio 2003. The Add-In
adds a command bar and button to MailItem objects. And it does this by
hooking into the NewInspector event. Clicking the button that is created
opens a .Net WinForm which is the core of my app. I also have a setup
project that creates all the appropriate registry keys, copies all the
appropriate files, etc.

My add-in project is configured "Wrapper Assembly Key File" set to the same
key file that I use to sign all my other assemblies.

When I compile this add-in in debug or release mode *without* configuring
the AssemblyKeyFile attribute everything works fine. I can install the
add-in, run Outlook, and my apps appears to be in working order.

However, if I configure the AssemblyKeyFile attribute I get the following:
In Debug Mode: The command bar no longer shows up, on MailItem type
inspectors nor anywhere else.
In Release Mode: The command bar and button show up on MailItem type
insepctors, however clicking the button does nothing and my app never opens.

Any thoughts?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top