Questions tagged [vsx]

Visual Studio eXtensibility (VSX) is the ability to develop extensions to the Visual Studio IDE from Microsoft. Extensions are developed using the VSSDK.

Links:

Most of the information on add-ins is in the SDK.

351 questions
0
votes
1 answer

Modifying project properties of custom project system in VisualStudio

I have tried to create a custom project system by walk through https://msdn.microsoft.com/en-us/library/vstudio/cc512961.aspx and succeeded. And now I want to modify the project properties of this created project system. The second part of this walk…
0
votes
1 answer

Find command display name for Visual Studio commands

Given a visual studio command, such as "Build.BuildSolution", how do I get a display name for it? When a command is invoked, I'm displaying a window with the command name and the shortcut. This is actually a ReSharper plugin, and it displays the…
citizenmatt
  • 18,085
  • 5
  • 55
  • 60
0
votes
1 answer

Get TFS Work Item/WorkItemID when command called from contextmenu of Resultlist

In an extension for visual studio 2013 i placed a commandaction for TFS WorkItem Contextmenu (GUID:ID = {2DC8D6BB-916C-4B80-9C52-FD8FC371ACC2}:0x0206) the contextmenu entry with my command is available on rightclicking in the background of the work…
xks
  • 61
  • 7
0
votes
1 answer

DynamicEnumProperty provider class that implements IDynamicEnumValuesProvider not being loaded by Visual Studio 2013

Hello I have a managed package that provides the code for a custom C++ build toolchain. I have a custom platform Toolset.targets that loads some custom properties:
Corillian
  • 907
  • 7
  • 12
0
votes
2 answers

How do you create a VS single file generator with Roslyn

I am trying to create a single file generator with Roslyn running with /rootsuffix Roslyn, but the usual IVsSingleFileGenerator does not seem to work - I cannot even hit a breakpoint in it. What should I do?
Nick Polyak
  • 201
  • 1
  • 9
0
votes
1 answer

Is there a Xamarin Studio SDK?

One of the great things about Visual Studio is its continually evolving extensibility story. Granted, they can be challenging to build, but the ability to create plugins and extensions is one of the features that has sustained the popularity of the…
John Holliday
  • 1,268
  • 1
  • 11
  • 19
0
votes
2 answers

Visual Studio Package for 2005/2008/2010?

We are looking to turn an internal tool we have developed into a Visual Studio Package that we would sell to other developers. The tool will impact the custom editor and/or custom languages. Visual Studio 2010 has redesigned the API's heavily to…
asp2go
  • 63
  • 6
0
votes
2 answers

How do I make Visual Studio automatically go to the first error in a build?

This is done manually by going to the "Error List" output window and double-clicking on the first error or pressing F8. Is there a way to automate this? (I'm using C++ if that matters.)
Jon
  • 5,275
  • 5
  • 39
  • 51
0
votes
1 answer

Visual Studio extension: How do I find which tool window is in the foreground in a tab link group?

In Visual Studio, you can group tool windows together and identify them by their tabs. For example, you might have the "Output", "Error List", and "Find Results 1" tool windows grouped together in a panel below your document. When you click on the…
Jon
  • 5,275
  • 5
  • 39
  • 51
0
votes
1 answer

How to notify the editor about document changes

I work on a custom project system and I have an issue with renaming items. The project system implementation is based on MPF and renaming items via the solution explorer worked more or less without any problems, but... When an item gets renamed, I…
Matze
  • 5,100
  • 6
  • 46
  • 69
0
votes
1 answer

How to hide/show the tool window but not close it

I have a VS2010 Isolated Shell application and I have a tool window as below public class MyWindow : ToolWindowPane And this tool window supports multiple instance [ProvideToolWindow(typeof (MyWindow ), MultiInstances = true, …
Carlos Liu
  • 2,348
  • 3
  • 37
  • 51
0
votes
1 answer

How to determine the folder where extension is executed from?

I'm writing some extension and I need to pull out data from the file that is included into vsix. But if I'll use Environment.CurrentDirectory I will not have this file because this folder points to VS folder not on the extension's one. How can I…
mimic
  • 4,897
  • 7
  • 54
  • 93
0
votes
1 answer

Using IVsSelectionEvents.OnSelectionChanged for with the designer

I'm trying to use IVsMonitorSelection to know when the user is selection a control (label, textbox, etc.) on the designer. So far I get events when the user click on item from the "Solution Explorer" window and when he click on the designer window,…
bbigras
  • 1,311
  • 2
  • 17
  • 32
0
votes
1 answer

From within a Visual Studio extension, how can I determine which Visual Studio updates are installed?

I would like to determine whether VS2013 Update 2 is installed from within a VSPackage. What's the easiest way to accomplish this?
Omer Raviv
  • 11,409
  • 5
  • 43
  • 82
0
votes
1 answer

Is there a way to prevent a ToolWindow from being closed?

Is there a way to hide the "X" closing icon of a ToolWindow or is there a way to use IVsWindowFrameNotify3's OnShow method to discard (ignore) the event? It seems that the OnClose method is called only when VS exit. When the ToolWindow is called,…
bbigras
  • 1,311
  • 2
  • 17
  • 32