Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

ext_ConnectMode.ext_cm_UISetup firing every time an AddIn is loaded (not in debugger)

$
0
0

I'm running VS2010 on Windows 7.

I've been creating an Add In following the MZTools articles and I've run into a problem. The ext_ConnectMode.ext_cm_UISetup is being sent to the OnConnection method of my AddIn every time VS loads. I amnot running in the debugger so /resetaddin <MyAddIn>.Connect is not getting called.

I figured I must've nubbed something up in my code so I created a brand new AddIn solution, and added a MessageBox.Show in the OnConnect when I receive ext_ConnectMode.ext_cm_UISetup. It is getting called everytime Visual Studio loads. The load settings in the .AddIn file are:

<LoadBehavior>1</LoadBehavior>
<CommandPreload>1</CommandPreload>
<CommandLineSafe>0</CommandLineSafe>

The .AddIn file is located in my \Documents\Visual Studio 2010\Addins folder.

What am I missing? Is there a way to properly install the AddIn? From what I've read, installing the AddIn is just having the .AddIn file in said folder and having it point to the AddIn's DLL.

I'm stumped...


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>