Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2006

Tip: Looking for answers? Try searching our database.

VS2005 Add-In not showing up under Tools.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
costasz@gmail.com - 10 Mar 2006 19:49 GMT
I used the Wizard to make this Add-In from scratch in preparation of
moving some 2003 Add-In Code to 2005. I used the wizard and I made no
other changes. I hit F5 and another copy of VS2005 launched but the
Add-In is not showing under Tools but it does list itself in the Add-In
Manager. Any ideas? I am using VS2005 RTM.

Thanks

Constantine Zachariadis
costasz@gmail.com - 10 Mar 2006 21:03 GMT
The following line (wizard generated) causes a System.ArgumentException
with "Value does not fall within the expected range".
============================

Command command = commands.AddNamedCommand2(_addInInstance,
"HFO.Deployment.AddIn", "GAC Deployment", "Executes the command for
HFO.Deployment.AddIn", true, 0, ref contextGUIDS,
(int)vsCommandStatus.vsCommandStatusSupported+(int)vsCommandStatus.vsCommandStatusEnabled,
(int)vsCommandStyle.vsCommandStyleText,
vsCommandControlType.vsCommandControlTypeButton);
costasz@gmail.com - 13 Mar 2006 18:48 GMT
anyone?
Carlos J. Quintero [VB MVP] - 14 Mar 2006 16:24 GMT
- Put a messagebox in the OnConnection which reports the ConnectMode
parameter.
- Put a break point in the OnConnection method and debug.
- Use (just for a test) AddNamedCommand instead of AddNamedCommand2

- See also:

INFO: Visual Studio .NET Add-In Commands Disappear On Next Session
http://www.mztools.com/articles/2005/MZ014.htm

Signature

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

> anyone?
costasz@gmail.com - 15 Mar 2006 16:39 GMT
ConnectMode is Extensibility.ext_ConnectMode.ext_cm_UISetup

CZ
costasz@gmail.com - 15 Mar 2006 16:39 GMT
ConnectMode is Extensibility.ext_ConnectMode.ext_cm_UISetup

CZ
costasz@gmail.com - 15 Mar 2006 16:44 GMT
AddNameCommand - Same exception. The exception does not specify which
argument is invalid so I cannot proceed.

CZ
costasz@gmail.com - 23 Mar 2006 18:38 GMT
Hello? Anyone? Is anyone making Add-Ins for VS2005?

CZ
HackingPSP@gmail.com - 25 Mar 2006 22:03 GMT
I found that if you make sure you have both a Visual Studio and a
Visual Studio Macros plug-in it works. You also have to add an
installer project, which VS 2003 did for you, but VS 2005 does not (any
ideas why?).

Also, in Microsoft's add-in example on their site they have you use
applicationObject. In the VS.NET 2005 generated code, it's actually
_applicationObject. So don't forget that underscore!

It's also faster to use the .Insert(value, 1) instead of the .Text =
value statement Microsoft's example shows. I noticed a significant
speed increase using Insert.

If you have any other questions about this, please feel free to send me
an email. I'll help best I can!

Auri Rahimzadeh
Author, Hacking the PSP
Author, Geek My Ride

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.