Add-ins extend Microsoft Visual Studio using the automation model (EnvDTE). Removed in Visual Studio 2015.
Questions tagged [visual-studio-addins]
452 questions
2
votes
0 answers
How can I resolve the error: Could not load file or assembly 'Microsoft.VisualStudio.Threading'?
I am writing an Add-in for Visual Studio 2017. I use the following:
Dispatcher.CurrentDispatcher.Invoke(()=>
{
// ...
});
But I keep getting the compiler warning: VSTHRD001 Avoid legacy thread switching methods and since I can be a bit obsessive, I…

reckface
- 5,678
- 4
- 36
- 62
2
votes
1 answer
How to check if Visual Studio addin was called by pressing a shortcut combination?
I'm writing a little VS addin, which has a shortcut to it.
It calls the Exec method fine, but I don't see a way to figure out whether it was called using a shortcut, or clicking in Tools menu. I'm sure it's there somewhere, but the documentation is…

Evgeni
- 3,341
- 7
- 37
- 64
2
votes
1 answer
Open a Custom Tool Window on Visual Studio without calling it from the View menu
I've seen that through the Visual Studio Extensibility tools, you can add custom commands such as Light Bulbs, Tool Windows (like the Properties panel) and so on...
Basically I am trying to create a Custom Tool Window that gets opened not from the…

user3587624
- 1,427
- 5
- 29
- 60
2
votes
1 answer
Why I lost input focus in visual studio 2005/2008
I wrote a Add-In for Visual Studio 2005/2008. It will prompt a window with some edit controls as child windows. But if open VS
with a document and then open my Add-In, those child edit controls will lose input focus when type…

Yantao Xie
- 12,300
- 15
- 49
- 79
2
votes
2 answers
Utilise Visual Studio Theme in Add-In
Is it possible to utilise the current Visual Studio theme within an Add-In? I'm using Visual Studio 2010 and want to use the dark and light blue colouring of the environment to colour certain controls within my addin.

gouldos
- 1,015
- 1
- 16
- 30
2
votes
1 answer
API for adding Code Snippets Locations in visual studio
I'm currently creating a Visual Studio Add-In and require the ability to add a location for custom Code Snippets to the users Visual Studio Environment programatically. I'm aware of the DTE Command Tools.CodeSnippetsManager but don't know if there…

gouldos
- 1,015
- 1
- 16
- 30
2
votes
3 answers
Outlook VSTO AddIn for Meetings
We have created a VSTO addin for Outlook Meetings.
As part of this we trap on the SendEvent of the message on the FormRegionShowing event:
_apptEvents.Send += new Microsoft.Office.Interop.Outlook.ItemEvents_SendEventHandler(_apptEvents_Send);
The…
BigDubb
2
votes
2 answers
Are there any add-ons for Visual Studio to help manage todo comments?
Our solution has a lot of todo comments, but unfortunately it seems the only way to sort them is by file. Sorting by project would give me a much better overview of what I'm actually responsible for. Just wondering if there's any way to do this or…

Luke
- 18,585
- 24
- 87
- 110
2
votes
1 answer
Does Visual Studio 2010 have SQL syntax highlighting for .sql files?
Basically the title is my question.
I have a project in one of my solutions just for storing development assets like DB creation scripts and the like. While I normally use SSMS for developing and running these scripts, I would like to be able to…

Chad Levy
- 10,032
- 7
- 41
- 69
2
votes
2 answers
Why does not Qt5 addin work in Visual Studio?
I have following configurations on my pc-
1) Visual Studio 2013 64bit
2) Installed QT5.4.2 64bit with openGL
3) Qt5Package addin
After installing the addin, it shows up on the menubar like this-
But I can not configure anything as…

Dipu
- 6,999
- 4
- 31
- 48
2
votes
3 answers
Visual Studio add-in to quickly test a code snippet
One thing I really love about languages such as Python is that if you have a piece of code you'd like to try out, you can just open the interactive shell and do it in seconds.
Is there a Visual Studio add-in that does the same for C#?
Basically what…

Matti Virkkunen
- 63,558
- 9
- 127
- 159
2
votes
2 answers
How to create a visual studio plugin that controls winamp?
I often listen to music while I code.
Switching songs while in the middle of something damages your productivity because you have to move to another window.
How would you implement such a plug in and in what language would I be more comfortable with…

the_drow
- 18,571
- 25
- 126
- 193
2
votes
1 answer
Within a Visual Studio 2008 Add-In, how can I tell which interfaces a class' property implements?
In a Visual Studio Add-In, I'm enumerating over the members of a class in the current source file. When I encounter a property (e.g. CodeElement.Kind == vsCMElement.vsCMElementProperty) I cast that CodeElement to a CodeProperty and I can see the…

Tim Stewart
- 5,350
- 2
- 30
- 45
2
votes
1 answer
How to integrate a custom Project Template and Wizard into Visual Studio package?
Current Situation
I have created a Custom Project template with an attached wizard which will ask the user for some options and it will generate some code (for instance: INIT method, some objects initialization). I have deployed this via the VSIX…

Vla
- 25
- 8
2
votes
1 answer
VSTO Outlook 2010 C# Active Explorer on Close
I am working on a VSTO Outlook2010 client addin. I have a ribbon and it shows up in new email explorer window. I need to write a method that does something when the new email window is closed. I know the window closes on its own when the email is…

Polzi
- 77
- 8