J
Jon Ebersole
After reading all the newsgroups and Microsoft articles on why I should Shim
my Outlook Add-in, I decided to download the latest Shim Add-In Wizard and
give it a shot. Well, even though my add-in works when I start Outlook, it
crashes if I try to debug it (happens with all other office add-ins now too).
I created a new Shim Add-In project and selected my existing Add-In project,
using its original GUID. I compiled the new shim, then added it to my
existing project, and recompiled it. Then I added its primary output to my
installation folder for the installer. I compiled the installer and ran it.
I then started Outlook and my command bars loaded. Great!... no, not
really...
I tried to debug my application and it crashes Outlook everytime. And then
I get an error everytime i start Outlook about disabling my add-in. I keep
saying no so my add-in stays loaded.
I think this has to do with strong naming. All of my assemblies are strong
named. I saw some posts on this, so I added the line /keyfile:xxxx to my
command line property in the Linker section of the Shim's project properties.
It still crashes. No warnings, no messages, nothing.
Does anyone know where this problem is occuring in the shim and how I get
back to normal for debugging my add-in? I have even tried creating new
add-in projects with and without shims to see if it was my project
explicitly. Nope, none of them can be debugged.
my Outlook Add-in, I decided to download the latest Shim Add-In Wizard and
give it a shot. Well, even though my add-in works when I start Outlook, it
crashes if I try to debug it (happens with all other office add-ins now too).
I created a new Shim Add-In project and selected my existing Add-In project,
using its original GUID. I compiled the new shim, then added it to my
existing project, and recompiled it. Then I added its primary output to my
installation folder for the installer. I compiled the installer and ran it.
I then started Outlook and my command bars loaded. Great!... no, not
really...
I tried to debug my application and it crashes Outlook everytime. And then
I get an error everytime i start Outlook about disabling my add-in. I keep
saying no so my add-in stays loaded.
I think this has to do with strong naming. All of my assemblies are strong
named. I saw some posts on this, so I added the line /keyfile:xxxx to my
command line property in the Linker section of the Shim's project properties.
It still crashes. No warnings, no messages, nothing.
Does anyone know where this problem is occuring in the shim and how I get
back to normal for debugging my add-in? I have even tried creating new
add-in projects with and without shims to see if it was my project
explicitly. Nope, none of them can be debugged.