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

Managed Package Framework for Visual Studio 2017

I'm following this tutorial on how to create a new Visual Studio Project type. In there, it says to "Import the source-code files for the Managed Package Framework". Google led me to this link that has a link to MPF 2013 package. In the first link…
Dula
  • 1,404
  • 1
  • 14
  • 29
7
votes
2 answers

Visual Studio 2015 fail to load package because Microsoft.VisualStudio.Shell.15.0 fail to load

I've built a Visual Studio extension for Visual Studio 2015 and 2017. I've developed it with 2017 and everything works great on 2017. When I install it on VS 2015 I get an error message saying it failed to load my package. In the visual studio…
Ido Ran
  • 10,584
  • 17
  • 80
  • 143
7
votes
1 answer

Roslyn load project documents failing

In a Visual Studio Extension (VSIX) solution, I'm using Roslyn to load a specific project from my current solution: Project myProject = this.CurrentComponentModel.GetService() .CurrentSolution.Projects …
7
votes
1 answer

What is a viable method of spacing out text in visual studio

We are attempting to expand text in Visual Studio. Our current attempt consists of creating transparent intraline adornments at certain points in the text. We have just stumbled upon a disadvantage to this method. Namely that when the given text has…
7
votes
1 answer

How to include debugging symbols to .vsix package

I have written visual studio extension for private use. The package is still under development but I would like to use it and distribute it to my colleagues. Is it possible to include debugging symbols (.pdb) to .vsix package? I prefer a Visual…
IvanH
  • 5,039
  • 14
  • 60
  • 81
7
votes
0 answers

How to create Visual Studio 2012 WPF custom designer/editor

I have created WPF Application which allows user to create a graph with the aid of visual tools. This application is able to serialize graph layout, attributes and data to XML file, and then it can deserialize XML content, rebuild graph, and show…
sgnsajgon
  • 664
  • 2
  • 13
  • 56
7
votes
1 answer

What do these Web Essentials options do?

I see these menu options for my asp.net project beneath the Web Essentials menu: Create solution settings Create color palette Create markdown stylesheet The official site for Web Essentials doesn't seem to be too forthcoming about just what these…
7
votes
1 answer

Is there a way to add a designer view for the cshtml razor editor?

I am using an inhouse tool we developed to parse razor templates with generated models. The thing is that now it requires loading the template every time in order to parse it. I wanted to add an edior so i could preview the cshtml while writing it,…
talarari
  • 539
  • 3
  • 7
  • 19
6
votes
2 answers

Disable visual studio extension from command line

Is it possible to disable a specific extension in Visual Studio from the command line instead of starting Visual Studio manually and disabling it from tools?
Giorgi
  • 30,270
  • 13
  • 89
  • 125
6
votes
2 answers

Is it possible to write VS extensions using the SDK style projects?

VS by default creates a legacy style project. I started manual migration, but then it fails to recognize the COM interop references for EnvDTE... Is it possible at all?
mark
  • 59,016
  • 79
  • 296
  • 580
6
votes
2 answers

How adapt extension to Visual Studio 2019?

I read that adapting of extension for VS 2019 is quite easy - https://devblogs.microsoft.com/visualstudio/visual-studio-extensions-and-version-ranges-demystified/#. But I got an error if I do all the actions from the post: It's not possible to…
Andrey Minakov
  • 545
  • 2
  • 5
  • 19
6
votes
2 answers

VSIX Project Context Menu

I'm trying to create a Visual Studio 2017 extension, just for fun and to learn how VS extensibility works. My extension must be usable from the Solution Explorer tab as a context menu button, but I would like to include it at a menu level that…
mororo
  • 1,074
  • 2
  • 11
  • 28
6
votes
2 answers

How to open file programmatically using EnvDTE in C#

How to open file programmatically using EnvDTE in C#.
user591790
  • 545
  • 2
  • 15
  • 33
6
votes
1 answer

Testing visual studio extensions

Is there an alternate way to test VS 2010 extension projects? Right now I have to spin a new instance of VS 2010 and wait. This takes couple of minutes and would love to know if there's another way of doing it quickly.
Mrchief
  • 75,126
  • 20
  • 142
  • 189
6
votes
2 answers

VS Extension: TextPoint.GreaterThan / LessThan very slow for large files

I'm working on a VS Extension that needs to be aware of which class member the text-cursor is currently located in (methods, properties, etc). It also needs an awareness of the parents (e.g. class, nested classes, etc). It needs to know the type,…
Adam Plocher
  • 13,994
  • 6
  • 46
  • 79