Can't get ClickOnce-deployed VSTO 3.0 Visio 2007 Add-In running

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
 

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