Oulook Addin in C# / VS2003 Crashes before Getting to IDTExtensibility2 interface

T

TCook

Hey All,

I have a C# / VS2003 Outlook Addin that used to run fine. I now have both
the 1.1 and 2.0 Frameworks installed on my machine. In a file located in
the Outlook.exe folder, I have a file named "Outlook.exe.config" with the
following in it:

<configuration>
<startup>
<supportedRuntime version"v1.1.4322" safemode"true"/>
<supportedRuntime version"v1.0.3705" safemode"true"/>
</startup>
</configuration>

I have also tried running it without the safemode attribute.

When trying to debug by running in VS, Outlook crashes before it even hits
any breakpoints in the IDTExtensibility2 interface. I am at a loss as to
why it keeps crashing.

Any ideas?

Thanks & Regards,

TC
 
T

TCook

Some more info...

I have a VS2005 Outlook plugin that runs fine. What's more is that whether
the .config file below is in the Outlook.exe directory or not seems to make
no difference. By same token, the VS2003 application failes.

What's more is that if I run Outlook, it will load the compiled .dll & it
will work. It's only when trying to run the solution inside of VS2003 that
I encounter the issue.

My guess is that the VS2005 / Outlook.exe is not picking up the .config in
the .exe directory.

Anyone with 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