Make Visio Add-In working in Debug Mode

M

martin

Hi folks,

Unfortunately my Visio Solution crashed during development. There it
was possible to start it out of Visual Studio just by hitting the debug
button.

So I copied the source files to a new system in order to make the
devolopment possible again.
But if I start Visio and the Add-In there just by debugging it does not
register and the Add-In isn't available within Visio. If I build a
setup and install my solution it works again. But I'd like to check new
functionality in a fast way just by debugging.

Any ideas?
 
D

David P (Visio MVP)

Would the new machine have .Net Framework 2 installed?
If so, put the following into a new file called visio.exe.config in the same
folder as Visio.exe:

<configuration>
<startup>
<requiredRuntime version="v1.1.4322" safemode="false" />
</startup>
</configuration>
 
M

Michel LAPLANE

In some case when addin crash a special key is written in the registry under
HKCU\software\Microsoft\Office\11.0\Visio.
This key is "Resiliency". It contains the name of the addin that crash if
you reply yes to Visio when he ask you to deactivate a bugged addin for
ever. Visio look at this key at startup and did not launch any addin that is
contained in this key.

So look at HKCU\software\Microsoft\Office\11.0\Visio\Resiliency and delete
all his content. You can also delete the resiliency key.

"David P (Visio MVP)" <[email protected]> a écrit
dans le message de (e-mail address removed)...
 

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