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
6
votes
1 answer

Debug VSIX created in VS 2017 using the VS 2015 Experimental Instance

I have a VISX package that I compile using VS 2017. The package applies to VS 2015 & 2017 (it happily installs and runs in a production environment on both version of VS). When I debug the project in VS 2017, it launches the VS 2017 experimental…
Sprotty
  • 5,676
  • 3
  • 33
  • 52
6
votes
2 answers

How do you install a Visual Studio 2017 Extension (VSIX) from an MSI

Visual Studio 2017 seems to have changed a lot of things in the extensibility area https://learn.microsoft.com/en-us/visualstudio/extensibility/breaking-changes-2017 The previous recommendations regarding installing a VSIX from an MSI now seem…
Sprotty
  • 5,676
  • 3
  • 33
  • 52
6
votes
2 answers

How do I create a custom editor for VS2015?

I'm attempting to build a visual studio extension. My project is created from the "VSIX Project" template. According to the documentation there should be a template for a custom editor but I am not finding it and failing at googling it. Is there…
Kelly Robins
  • 7,168
  • 6
  • 43
  • 66
6
votes
4 answers

Visual Studio 2010 Extensibility - Custom Project Template Wizard

I've read a fair amount about the improvements of the extensibility story in VS2010 being much improved (i.e. MEF based, etc.), but have yet to get my hands dirty. I've recently ran across a real world scenario that's making me want to dive in, but…
kellyb
  • 1,391
  • 1
  • 11
  • 18
6
votes
1 answer

In a Visual Studio Extension, get the line range of the function in which the debugger is stopped

I have a Visual Studio extension that hooks into debugging events. When the debugger stops at a line of code, my IDebugEventCallback2 callback gets called, and I can find out the filename and line number where the debugger has stopped via…
6
votes
3 answers

File changed event being called twice

I use a combination of IVsFileChangeEvents and IVsFileChangeEx to monitor, whether file edited in my custom editor extension was modified outside the IDE. However, for some unknown reason, I get the notification twice - thus resulting in asking user…
Spook
  • 25,318
  • 18
  • 90
  • 167
6
votes
1 answer

Selected project from Solution Explorer

I am writing a customization package for Visual Studio 2010 (vsix). What I need to do is to add a context menu button to the Project nodes in Solution Explorer. I've managed to get the context menu to appear when right-clicking the Project nodes,…
havardhu
  • 3,576
  • 2
  • 30
  • 42
5
votes
1 answer

How to force Visual Studio to update the UI?

I'm working on a Visual Studio extension, when the ToggleEnabled() function is called, it triggers OnToggleEnabled -> OnToggleEnabledHandler. At private void OnToggleEnabledHandler() these attempts are not working, and the UI is not being…
Cesar
  • 41
  • 2
  • 5
  • 16
5
votes
2 answers

Visual Studio Extensibility Package not looking at correct project

I have created a new VS 2010 extensibility package. So far, all I want to do is have the user press a button and fill a listview with the entire contents of the solution. I have the following…
Paul Michaels
  • 16,185
  • 43
  • 146
  • 269
5
votes
1 answer

VSSDK: can't build solution with mixed style csproj-projects containing VSIX-projects

I have a solution containing several projects target both net461 and netcoreapp2.0. Also the solution contains VSIX projects with my DslTools extension. VSIX projects use old csproj format while other projects use new csproj format (SDK). But all…
Shrike
  • 9,218
  • 7
  • 68
  • 105
5
votes
1 answer

In a VS 2017 custom project system, how can I make a project item bold in the Solution Explorer?

I'm writing a project system extension for VS 2017, and each project in my language has one file that's the "startup file". I want that file to appear bold in the Solution Explorer. Python Tools for VS does what I'm looking for, but my extension is…
5
votes
1 answer

Is there an event triggered when dte.Solution.SolutionBuild.StartupProjects changes?

I am building a visual studio 2010 Add-in for internal use in my company. I would like to customize the main window caption to display the name of the current start up project. I can set the caption of the main window with the following code: …
5
votes
0 answers

Visual Studio 2010 Extension - Show infobar on top of document

Starting from Visual Studio 2015, the extensions SDK supports showing an infobar on top of a document window: see https://msdn.microsoft.com/en-us/library/mt300796.aspx#BKMK_Infobars. Unfortunately that functionallity is not available for VS2010. As…
TWT
  • 2,511
  • 1
  • 23
  • 37
5
votes
1 answer

How to display the ouput window from an add-in?

I currently have a visual studio add-in and have created a new output window pane which I can write text to successfully. However, when the output window is not open or it is minimised then it doesn't open (popup) when I call the Activate() method…
gouldos
  • 1,015
  • 1
  • 16
  • 30
5
votes
1 answer

Is there a config type file for Visual Studio Add-In?

When creating a Visual Studio Add-In, how can you utilise an app.config for the add-in. If I add one to the project and deploy it then when the Add-In runs and I programmatically try to access it via the ConfigurationManager.AppSettings its not…
gouldos
  • 1,015
  • 1
  • 16
  • 30
1 2
3
29 30