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

How do I set the Project's 'Start External Program' setting programmatically?

I have an IWizard which gets access to a Project variable. What code do I need to write to set the 'Start External Program' value in project properties?
Dmitri Nesteruk
  • 23,067
  • 22
  • 97
  • 166
4
votes
0 answers

VS2013 Extensions, VSIX project does not show Item Templates

I downloaded and installed SDK, after that I'm able to see project templates and I created first VSIX Project. But when I right click the project to add Item Templates like "Custom Command" or "Custom Tool Window" there is even no Extensions node…
4
votes
1 answer

VS2015 extension in context menu for html context files

I'm trying to add a context window to a HTML Context editor window in visual studio, I successfully retrieved the Code Window ID from the vshlids.h file, following guides on…
Sam
  • 1,634
  • 13
  • 21
4
votes
0 answers

Change tab color - SQL Server Management Studio Add-in

I'm developing SQL Server Management Studio Add-in by EnvDTE, I want to change the color of the tab based on user setting (Something Like TabsStudio) in WindowCreated event like following. private void WindowCreated(EnvDTE.Window window) { //…
4
votes
1 answer

Is it possible to display custom icon in Visual Studio status bar

I am aware of displaying custom text in Visual Studio status bar using IVSStatusBar interface. I have even blogged about it. However, I have requirement to display custom icon on the Visual Studio status bar. Similar to what Resharper does to…
4
votes
2 answers

How do you get the current solution directory from a Editor Classifier Project (c#)?

From an add-in, we can obtain the solution path using following way. _applicationObject = (DTE2)application; // retrieved from OnConnection method string solutionDir = System.IO.Path.GetDirectoryName(_applicationObject.Solution.FullName); How…
4
votes
1 answer

Extensibility Project Type does not exist with VS2013

In my Visual Studio 2013, Extensibility Project Template is not found under "Visual C#" and "Other Project Types". Could you please guide me to enable this project type with Visual Studio?
Ponmalar
  • 6,871
  • 10
  • 50
  • 80
4
votes
2 answers

Hooking into build process in Visual Studio

I'm writing a Visual Studio extension, which allows editing specific type of files in the project. This file serves as a description for further automated code generation (similarly to, say, Entity Framework). I need the code generation to be…
Spook
  • 25,318
  • 18
  • 90
  • 167
4
votes
2 answers

Attaching files in VSIX container

Is it possible to include some predefined files in the VSIX container and then access them by the extension?
Spook
  • 25,318
  • 18
  • 90
  • 167
4
votes
3 answers

Using tag with natvis

I am trying to make use of the tag which is defined in natvis.xsd (The natvis schema file) in order to write C# or C++ code to visualize a type. I cannot find any documentation on this, so I'm not sure how it works. In particular I need to…
4
votes
1 answer

Importing SvsServiceProvider in VS 2012

I am new to Visual Studio Extensibility and am try to implement one of the Microsoft Walkthroughs from the VS 2012 SDK (Displaying Statement Complete). I am having some difficulty with one class in the walkthrough. The problem is that I get a an…
Paul
  • 55
  • 5
4
votes
1 answer

AvalonDock (2.0) + MVVM + VSPackage = document selection trouble?

I have a control that utilizes an AvalonDock (2.0) DockingManager control for displaying a set of documents managed by an underlying view model:
Dave Clemmer
  • 3,741
  • 12
  • 49
  • 72
4
votes
1 answer

How to make a shortcut to run a VSIX method?

please see this question. The initial question was solved, and I have a method in my extension. I want that when the user installs the extension, a keyboard-shortcut should be installed as well, and should run the method when pressed. How do I do…
4
votes
1 answer

How to Get Project Type Guid of selected project in the Solution Explorer by using VS Package

I've created the simple VS Package for adding new item in the context menu of solution explorer. In that I need to check Selected Project's Project Type GUID. How can i get this. For example, One Solution contains the three different type of…
3
votes
1 answer

Adding Solution Items in a project template wizard

I'm trying to add a file to a Visual Studio "Solution Items" folder, using a Project Template Wizard. I'm able to create the folder itself, but when I add a file, it doesn't do anything. My code (executed from ProjectFinishedGenerating) is …
ulu
  • 5,872
  • 4
  • 42
  • 51