Add-ins extend Microsoft Visual Studio using the automation model (EnvDTE). Removed in Visual Studio 2015.
Questions tagged [visual-studio-addins]
452 questions
0
votes
1 answer
How to wait unitl the build command is over in the Visual Studio Add-In?
I want to create a Visual Studio add-in that times the build.
Here is my code so far:
public void Exec(string commandName, vsCommandExecOption executeOption, ref object varIn, ref object varOut, ref bool handled)
{
handled = false;
if…

mark
- 59,016
- 79
- 296
- 580
0
votes
1 answer
Can't see changes in Visual Studio Add-in after rebuild
I am making an Add in for Visual Studio. Every time a change something in the code or design, I have to restart Visual Studio in order to see changes from Tools -> My_Add_In. I try to rebuild a project and still can't see changes without restarting.…

Stewie Griffin
- 9,257
- 22
- 70
- 97
0
votes
2 answers
How to detect that Library code is executed within VS Addin or VS Package vsix
I use Addin in VS 2010 and VS Package (vsix) in VS 2012.
Addin and VSPackage uses common libraries.
I need detect if the library code (in execution time) is executed by Addin OR VSPackage.
Now, I have this code, but always true for Addin AND…

Kiquenet
- 14,494
- 35
- 148
- 243
0
votes
1 answer
Drag Drop Image Transparency In VSTO 2013 Add-In
I have a WPF control in my PowerPoint add-in that hosts an image that I want to be able to drag & drop onto the active slide. I can get the image to appear on the slide, but the transparent areas are rendered in black.
My code to initialize the drag…

Todd
- 620
- 4
- 13
0
votes
1 answer
Access code elements inside a function definition in Visual Studio add-in
I am creating a Visual Studio plugin to analyze code. I am using EnvDTE.ProjectItem to access project and other project items.
I want to list properties and methods inside a class. Is there any way that I can access code inside a class?

Hasitha De Silva
- 1
- 2
0
votes
0 answers
Is there a Human-language Editor Auditor?
As a developer changes code (provided he uses version control), s/he can compare new code to old to see what changes were made over two "points in time" (or versions).
What might be more convenient for some scenarios is an IDE add-in (extension, or…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
1 answer
Add context menu based on multiple selection of project items across solution using visual studio addin
I have been working on visual studio Add-in for quiet some time.
I need to add context menu for project item. This can done as follows.
CommandBar vsBarItem = cmdBars["Item"]; //the pop up for clicking a project Item
This context menu is visible…

shishi
- 107
- 1
- 2
- 8
0
votes
2 answers
ASP.NET MVC CTP (first version) fails uninstalling
The offending command that msi executes is:
.\devenv.com /command "View.Toolbox" /setup
This fails with Date execution prevention error.
devenv.exe log contains a bunch of errors like this:
120

bh213
- 6,343
- 9
- 43
- 52
0
votes
1 answer
How to create Addins for my .exe file
I am new to this addins.
I am using silver-light with c#. when user click on the addin , automatically .exe file will start to install....
Can any one explain which is the best way to create addin of my exe file.

Kavitha
- 1,447
- 2
- 22
- 37
0
votes
1 answer
Certain settings keep resetting in VS2013 Professional
Recently the sections under Options>Text Editor>C#>Advanced>Editor Help and Options>Text Editor>All Languages>General>Statement Completion have taken on a mind of their own. Various settings have just started disabling themselves. I re-enable them,…

joelmdev
- 11,083
- 10
- 65
- 89
0
votes
2 answers
How can I install an older licensed version of R# over an expired Trial version?
I have a license for version 7.X of R#; I use it at home.
At work I've been using the trial version of the latest iteration until it expires. After having it expire a couple of times, I decided to just use the older version for which I have a…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
1 answer
How to create extension for VS2012 using VS Package on File Save Event
I need to create an extension to do some custom activity, on File Save Event in visual studio. How to achieve this using VS Package.
I am struck with below code, any advise?
#region Package Members
FileEventsListener listener = null;
…

Anand Kumar
- 395
- 2
- 7
- 18
0
votes
1 answer
Exec() method of Visual Studio add-in not triggered on using GwebSearchClient in GoogleSearchAPI
In my Visual Studio 2010 add-in, the Exec method of the IDTCommandTarget interface stops triggering (on the relevant menu click) when I add the following line of code to the Exec method:
GwebSearchClient client = new…

AarCee
- 833
- 2
- 11
- 24
0
votes
1 answer
What should .net framework version be for an addin targeting only Visual Studio 2010?
The projects in an Addin solution, targeting only Visual Studio 2010 can have .net framework 3.5 or 4.0?
Does this cause a problem?
PS: And are there any restrictions for TFS integrated addin versions?
Thank you in advance.

Atesoglu
- 53
- 1
- 6
0
votes
1 answer
How to add sub menus dynamically in VSPackage (Visual Studio 2013 Package)
I managed to implement Dynamically Adding Menu Items
This allows dynamically adding menu command. This is nice but its a flat 1-level dynamic menu.
Is it possible to create a dynamic sub-menu and attach it to a command?
The static way is to create:…

Shlomi Assaf
- 2,178
- 18
- 19