N
Niklas Deutschmann
Hi,
I've created a Visio 2007 add-in (using Visual Studio 2008). This add-in is
deployed using ClickOnce deployment, as recommended in the documentation.
Now, I'm in the process of getting it deployed on a "clean" target machine
(without VisualStudio).
My problem: The add-in is shown as "active" in the Visio Trust Center, but
almost no add-in code is executed. I've added logging Debug.Print calls to
many methods and I'm observing that only the ThisAddIn_Startup event handler
is executed.
However, my the "OnConnection" method of my connector class (the class that
extends IDTExtensibility2) isn't executed at all. This class worked just fine
when I tested the add-in on my development machine (I installed the add-in
using a setup project on this machine).
I've installed .NET 3.5 and the VSTO runtime on the target machine. I don't
know exactly whether I have the PIAs installed (I don't find any
Microsoft.Office.Interop*.dll on the hard disk, neither after doing a
complete Visio install after the .NET installation, nor after installing the
PIAs manually). However, I have the same problems with ClickOnce-deployment
on the development machine, although these DLLs exist there.
Is there any way to get Visio to output some debug information on the target
machine? I've checked the Windows event log, but nothing valuable is logged
there.
Regards,
Niklas
I've created a Visio 2007 add-in (using Visual Studio 2008). This add-in is
deployed using ClickOnce deployment, as recommended in the documentation.
Now, I'm in the process of getting it deployed on a "clean" target machine
(without VisualStudio).
My problem: The add-in is shown as "active" in the Visio Trust Center, but
almost no add-in code is executed. I've added logging Debug.Print calls to
many methods and I'm observing that only the ThisAddIn_Startup event handler
is executed.
However, my the "OnConnection" method of my connector class (the class that
extends IDTExtensibility2) isn't executed at all. This class worked just fine
when I tested the add-in on my development machine (I installed the add-in
using a setup project on this machine).
I've installed .NET 3.5 and the VSTO runtime on the target machine. I don't
know exactly whether I have the PIAs installed (I don't find any
Microsoft.Office.Interop*.dll on the hard disk, neither after doing a
complete Visio install after the .NET installation, nor after installing the
PIAs manually). However, I have the same problems with ClickOnce-deployment
on the development machine, although these DLLs exist there.
Is there any way to get Visio to output some debug information on the target
machine? I've checked the Windows event log, but nothing valuable is logged
there.
Regards,
Niklas