Questions tagged [vs-extensibility]

Visual Studio eXtensibility (VSX) is the ability to develop extensions to Microsoft Visual Studio.

Visual Studio eXtensibility (VSX) is the ability to develop extensions to Microsoft Visual Studio, an Integrated Development Environment from Microsoft. Microsoft Visual Studio itself is a tool can be used to develop applications for the .NET Framework and for the Win32 platform. The Visual Studio Software Development Kit, first released with Visual Studio 2005, included documentation, samples, and code to help develop products that integrate with the Visual Studio product family.

Generally, VSX represents the whole community which is a virtual and growing ecosystem that includes the Visual Studio SDK (VS SDK), all aspects of extending Visual Studio (packages, add-ins, macros, visualizers), .NET developers who extend Visual Studio, Visual Studio Industry Partner (VSIP) companies, and the VS SDK team (also known as the VS Tools Ecosystem team).

438 questions
3
votes
1 answer

VS2015 extension - Get selected items in Error list

I'm trying to make an extension for Visual Studio 2015 that depends on the selected items in the Error List view. I'm retrieving the list with the following code: var errorList = this.dte2.ToolWindows.ErrorList as IVsTaskList2; IVsEnumTaskItems…
Ztick
  • 31
  • 3
3
votes
0 answers

Creating a new window or document window within Visual Studio programmatically

So the problem I am having is related to creating a new window within Visual Studio such as the windows of the code editor. I have looked into using the DTE where you can use functions such as EnvDTE.Document.NewWindow() which will open a new…
3
votes
1 answer

Provide intellisense for custom language in Visual Studio when caret is in virtual space

I'm developing an extension for visual studio that provides intellisense for a custom language. So far I started with this sample, more specifically this code. Sadly, this sample (and all others I've seen on the internet) has problems with virtual…
Henning
  • 579
  • 6
  • 17
3
votes
1 answer

How can a visual studio extension target both 2013 and 2015 while referencing TFS client dlls

I have a visual studio extension (deployed as .vsix) that needs to support both Visual Studio 2013 and 2015. The problem is that the extension needs to talk to TFS so it uses the TFS client libraries and in VS2015, these were changed from being GAC…
Isak Savo
  • 34,957
  • 11
  • 60
  • 92
3
votes
2 answers

Where is Microsoft.VisualStudio.TeamFoundation.VersionControl.dll in Visual Studio 2015

I'm migrating my own TFS logging extension to VS 2015 and run into many dependency issues. Most of them I was able to get rid off by installing Microsoft.TeamFoundationServer.ExtendedClient nuget package. However there's still one missing reference,…
Grzegorz Sławecki
  • 1,727
  • 14
  • 27
3
votes
1 answer

CompositionContractMismatchException in VS 2015 Extension implementing ITeamExplorerSection

I'm trying to update my Visual Studio Extension Diff All Files to support Visual Studio 2015. Everything works fine in VS 2012 and 2013, but in 2015 it throws the following error when I open the Team Explorer Pending Changes Windows, which should…
deadlydog
  • 22,611
  • 14
  • 112
  • 118
3
votes
1 answer

Cannot find the interop type'Microsoft.Internal.VisualStudio.Shell.Interop.SVsColorThemeService'

I am building a Visual Studio package/extension using Visual Studio 2013 update 4 Community Edition. I am using the standard project template that comes with the Visual Studio SDK under the extensibility projects group. What I need is the…
Mihail Shishkov
  • 14,129
  • 7
  • 48
  • 59
3
votes
1 answer

Error creating Roslyn SDK Template Project

Trying to create a Diagnostic with Code Fix (NuGet + VSIX) project on the latest VS2015 CTP release. After I try to create the project I get the following errors: Any idea on how to remedy this?
amhed
  • 3,649
  • 2
  • 31
  • 56
3
votes
1 answer

Definitive list of service providers in Visual Studio 2010?

VS2010 has made it easy to write extensions via MEF exports and imports. However, if you want to do anything useful you have to know what service provider(s) you need to implement your super awesoem extension. Unfortunately, this information is…
user1228
3
votes
1 answer

Modifying emularor/device list of visual studio 2013

I am using Managed Package Framework (MPF) to create custom language service. I want to add few emulators/devices in "Start" Combobox, for example How can I do that? Update 1: After some research, I came to know that you need to extend an abstract…
3
votes
2 answers

How do you cancel a ToolWindowPane or Visual Studio IDE close operation via a VSPackage?

I have a VSPackage with a dockable tool window containing form data. If there are unsaved changes in this form, I would like to cancel a close to either the tool window and the visual studio IDE if the user clicks cancel on saving changes before…
Dave Clemmer
  • 3,741
  • 12
  • 49
  • 72
3
votes
1 answer

How to update the contents of a DynamicItemStart button inside a VS package

I'm doing a VS package that has a DynamicItemStart button inside a Menu. I don't have any problem by loading the contents of the Dynamic button when VS starts, but I'm trying to add more commands to its contents after some events like Open a project…
gab
  • 325
  • 1
  • 12
3
votes
2 answers

Visual Studio Package - How can I get hold of the information in the locals window?

I have a VSPackage that I would like to get information similar to that shown in the locals window when in debug mode (the values of variables for the current context). I have been experimenting with the DTE.Debugger.CurrentStackFrame instance which…
Alan Spark
  • 8,152
  • 8
  • 56
  • 91
3
votes
1 answer

Keyboard navigation not working in WPF window inside Visual Studio

I'm developing a VS-Package that shows a WPF window when a MenuCommand is invoked. inside this WPF window I have a listBox, which is focused immediatly when the window is loaded. when I show the window via myWindow.ShowDialog(), the arrow up/down…
3
votes
1 answer

Resolving a FileNotFound issue when running a custom test type for Visual Studio

I have implemented a custom test type for Visual Studio. The custom test type reads its test elements from dlls. My ITip implementation is working like a charm. The test elements are loaded and are displayed on the Test View tool window. When I…
Ikaso
  • 2,268
  • 19
  • 26