T
tartancli
Hi,
I have a problem in that i have developed a C# addin for Word in VS2003 (not
VSTO). This add-in works fine on the development machine but when i deploy it
to another machine I get the following behaviour from the addin:
The add-in contructor is called.
The add-in OnConnection method is called.
The add-in OnAddInsUpdate method is called.
Then the OnStartupComplete method is NOT called.
The OnDisconnect method is called when the application is closed.
There is really very little code in the OnConnection and OnAddInsUpdate
method to go wrong ... and i would have assumed that if the add-in had thrown
an exception before OnStartupComplete, that it would have been unloaded
immediately (not when Word closes).
I'd be grateful if anybody could guess at whats going on here or point me in
direction of any information on Word add-in architecture (reasons why
OnStartupComplete would not get called) or has any suggestions as to how I
can debug this problem further.
Thanks
I have a problem in that i have developed a C# addin for Word in VS2003 (not
VSTO). This add-in works fine on the development machine but when i deploy it
to another machine I get the following behaviour from the addin:
The add-in contructor is called.
The add-in OnConnection method is called.
The add-in OnAddInsUpdate method is called.
Then the OnStartupComplete method is NOT called.
The OnDisconnect method is called when the application is closed.
There is really very little code in the OnConnection and OnAddInsUpdate
method to go wrong ... and i would have assumed that if the add-in had thrown
an exception before OnStartupComplete, that it would have been unloaded
immediately (not when Word closes).
I'd be grateful if anybody could guess at whats going on here or point me in
direction of any information on Word add-in architecture (reasons why
OnStartupComplete would not get called) or has any suggestions as to how I
can debug this problem further.
Thanks