Questions tagged [visual-studio-extensions]

Products and Extensions for Visual Studio which help you get the most out of Visual Studio.

The Visual Studio Gallery provides quick access to tools, controls, and templates to help you get the most out of Visual Studio.

Microsoft also offers a tutorial, where you can gather basic informations on how to develop extensions yourself

1700 questions
5
votes
3 answers

Visual Studio SDK - Handling File Add, Remove, and Rename Events

I'm working on a Visual Studio extension that should listen for events when the user adds, removes, or renames files in the current solution. The answer to this question notes that VS provides infrastructure for listening to document events like…
5
votes
2 answers

Visual Studio Extension: Get the path of the current selected file in the Solution Explorer

I'm trying to create my first extension for visual studio and so far I've been following this tutorial to get me started (http://www.diaryofaninja.com/blog/2014/02/18/who-said-building-visual-studio-extensions-was-hard). Now I have a custom menu…
Eux
  • 482
  • 7
  • 16
5
votes
2 answers

Accessing current Microsoft account from Visual Studio extension

I am writing a VS extension which will need to communicate with a server and identify the user, and I figured that if possible, since this extension will be the only client connecting to the server, using Visual Studio's built-in support for…
5
votes
1 answer

Event when a Document Window is focus in Visual Studio

I have an extensibility project in Visual Studio and I need to use the event triggered when I change from one window to another in the visual studio editor, my problem: I created a Tool Window that display some diagram, that diagram depend of an…
Jack1987
  • 727
  • 1
  • 14
  • 26
5
votes
1 answer

Visual Studio menu item appearing multiple times

I've created a menu item for the extension I'm working on; however, it is showing up 4 times in the Tools menu instead of just once. Below is what I have, but I have been unable to figure out why the menu item is showing up more than once. VSCT…
Pallas
  • 1,499
  • 5
  • 25
  • 57
5
votes
1 answer

Export custom EditorFormatDefinition at runtime

In a Visual Studio extension I've built I need to highlight method invocations within the Visual Studio editor. For example: I would like to use HSV colors to divide up the color spectrum according to to the number of unique invocations. I can…
5
votes
1 answer

Is it possible to use app_offline.htm when publishing via ftp?

Is it possible to configure Visual Studio 2012 to automatically create (and delete) the app_offline.htm file when using ftp as the publishing method? I tried to create the file by hand and add it to the solution (so it would be uploaded…
5
votes
1 answer

Visual Studio Extension (VSPackage) runs in all Experimental Instances, but does not run after being installed as a .vsix, except in VS2010

I am writing a Visual Studio extension which targets VS2010, VS2012, and VS2013. It runs and is initialized successfully in each Experimental Instance with no issues. When I install the VSIX generated by the build, it installs in all versions…
5
votes
1 answer

Register an extender provider for all project types

I have a Visual Studio extension that adds an property to the property grid of a project item. It is done by registering an extender provider like this: void RegisterExtenderProvider() { var provider = new…
Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758
5
votes
4 answers

Registering an unpacked VSIX extension via MSI without using devenv /setup

We have a Visual Studio extension, currently installed with MSI, since we need to perform certain tasks after the installation (ngen, registering certain COM servers, etc). In the end of the installation, we run devenv.exe /setup (more specifically,…
5
votes
1 answer

Removing unused DLL references in Visual Studio 2013

I know that this question has been asked before over the years and that there are extensions out there that can remove unused DLL references, but none of those seem to be compatible with Visual Studio 2013. I also understand that VS 2013 is still…
Jason D
  • 2,634
  • 6
  • 33
  • 67
5
votes
3 answers

Which of my Visual Studio extensions are slowing?

My Visual Studio 2012 has become slow to open. In 'safe mode' it's fast again. Presumably some extensions are slowing Visual Studio. Which? Is there an analogue of Internet Explorer's feature which shows load time for each extensions?…
Colonel Panic
  • 132,665
  • 89
  • 401
  • 465
5
votes
1 answer

How to programmatically override the build and launch actions?

I created a custom project template associated with a custom project type. The solution depends heavily on MPF for Projects - Visual Studio 2012 framework. What i would like to do next is override the default "Build" (F6) and "Start without…
5
votes
2 answers

Multi Project Solution template

I am in the process of creating multi-project solution template having web application,Desktop,few class libraries and unit test project. I built the basic container and packed it as VSIX container. When I install the VSIX container,I can the .zip…
5
votes
3 answers

How to make a dialog appear when Visual Studio is started. - VS Extension

I am building a Visual Studio extension and I am stumped on how I would show a dialog when visual studio is started. The main use for it is going to be when Visual studio starts my extension will check for updates if an update is found a dialog…