D
David Thielen
Hi;
I'm having a bunch of weird things happen with my add-in, but on my
machine only.
First off, this is a C# add-in that was originally written for VSTO
but I switched it to IDTExtensibility2. I did this by creating a new
project so VisualStudio made the framework then copying files over.
But this may have left some weirdness in the registry.
I also had the VSTO solution and the new IDTExtensibility2 solution
set to launch Word when I press F5 to debug my add-in.
None of these problems happen on any of the test systems - just my
system.
1) The #import for the IDTExtensibility2 interface in the shim COM
app's stdafx.h stopped finding it. I had to run regsvr32 on the dll
containing it (don't remember the name). The thing is - it was working
fine for days and just stopped.
2) I can't deserialize data in the add-in. It says it can't find the
assembly with the classes in it and lists out the strong name of the
needed class. That is identical to the strong name of the class that
is calling deserialize. This only happens on my system.
3) If I run the install program on my computer then run debug - I get
Word launched twice. But when I look in the registry there is only the
entry for the one add-in that the installer put there. (This makes
sense if it is running the "installed" version plus what the debugger
feeds it - but should that start word twice?)
Any ideas?
thanks - dave
I'm having a bunch of weird things happen with my add-in, but on my
machine only.
First off, this is a C# add-in that was originally written for VSTO
but I switched it to IDTExtensibility2. I did this by creating a new
project so VisualStudio made the framework then copying files over.
But this may have left some weirdness in the registry.
I also had the VSTO solution and the new IDTExtensibility2 solution
set to launch Word when I press F5 to debug my add-in.
None of these problems happen on any of the test systems - just my
system.
1) The #import for the IDTExtensibility2 interface in the shim COM
app's stdafx.h stopped finding it. I had to run regsvr32 on the dll
containing it (don't remember the name). The thing is - it was working
fine for days and just stopped.
2) I can't deserialize data in the add-in. It says it can't find the
assembly with the classes in it and lists out the strong name of the
needed class. That is identical to the strong name of the class that
is calling deserialize. This only happens on my system.
3) If I run the install program on my computer then run debug - I get
Word launched twice. But when I look in the registry there is only the
entry for the one add-in that the installer put there. (This makes
sense if it is running the "installed" version plus what the debugger
feeds it - but should that start word twice?)
Any ideas?
thanks - dave