Questions tagged [vspackage]

VSPackages are software modules that extend the Visual Studio IDE by providing UI elements, services, projects, editors, and designers.

VSPackages are part of the Visual Studio eXtensibility (VSX) framework that allow developers to develop software modules to extend the Visual Studio IDE. Typical elements that are developed in VSPackages include tool windows and editors to provide additional UI functionality and menus to provide access to additional services and functions.

363 questions
11
votes
2 answers

VSIX package build failed without showing the reason (Visual Studio bug)

I have to enabled diagnostic mode of MSBuild project build output verbosity to see this: 1>Done executing task "EnableExtension" -- FAILED. (TaskId:81) 1>Done building target "DeployVsixExtensionFiles" in project "myextension.csproj" -- FAILED.:…
jwaliszko
  • 16,942
  • 22
  • 92
  • 158
10
votes
1 answer

Change category name for VSPS

I'm currently using the new Visual Studio Project System Extensibility library to implement a new project type for VS2015. What I would like to do is change the name of the "category" of that type of project. I would like it to be "Visual Basic 6".…
zdimension
  • 977
  • 1
  • 12
  • 33
10
votes
2 answers

Visual Studio extension does not load in experimental instance

I'm developing a Visual Studio extension in VS2013 but I can get it to load in the experimental instance. I can install it manually in my current instance (from the vsix file) and it works fine but I am unable to debug it. There are no error…
adrianm
  • 14,468
  • 5
  • 55
  • 102
10
votes
1 answer

Visual Debugger for Geometric Objects

When working on my library representing geometric objects, Debugging currently looks like this: Here I am viewing the local variables in the Autos, Locals, Watch and Immediate windows. As I have trouble imagining the shape of the object in my mind,…
9
votes
4 answers

Suppress "No Source Available" pane in 2010

Arg! I have a custom "harness" executable running my class library project. Every time I step into the harness's code, I get that "No Source Available" pane popping up. As I know there is no source available, and that this is completely expected,…
Jason Kleban
  • 20,024
  • 18
  • 75
  • 125
9
votes
5 answers

'VSPackage' package did not load correctly

I'm having this error pop up once I start Visual Studio professional 2013 with update 3. I don't know whats going on and also when I created a web form and try to put items from the toolbox into a table in my code it doesn't let me. the items are…
Francisco
  • 113
  • 1
  • 1
  • 7
9
votes
1 answer

Information about debugging engines used by the debugger

In Visual Studio, if you want to attach debugger to any processes, you have the possibility to select some specific engine (code type) or set of engines you would like to use: Next (after you selected any engines and processes), if you click Attach…
jwaliszko
  • 16,942
  • 22
  • 92
  • 158
9
votes
2 answers

How do I programmatically refresh/reload a VS project after modifying the underlying file?

I am developing a Visual Studio package and I have written some code that will make a file in Solution Explorer dependant upon another file. What this means is that it gives them the same relationship as code-behind files or designer files, where…
Martyn
  • 1,446
  • 2
  • 19
  • 30
8
votes
1 answer

Dynamic display custom Visual Studio VSPackage command on toolbar

Let's assume we have a VSPackage with a toolbar and a couple of commands on the toolbar. How can you programmatically show/hide one of the commands on the toolbar? If you are a user you can do that by customizing the toolbar. Therefore I have a…
Shakaron
  • 1,027
  • 10
  • 24
8
votes
1 answer

How to get the details of the selected item in solution explorer using vs package

I am trying to create a VS package in which, I have added a menu command to the context menu, so it appears when you right click an item in the solution explorer. Now on clicking the command, I want to show a pop up with the details of the item, on…
niruj
  • 125
  • 2
  • 9
8
votes
2 answers

Method or operation not implemented error on Binding

I'm currently developing a Visual Studio plugin (VSPackage) which finally should be able to visualize call relations. In order to represent them I want to use the Graph# library which manages the graph (avoiding overlapping edges…
7
votes
2 answers

VS Extensibility Architecture (Package API/ Visual Studio Library)

Recently I found the above displayed Visual Studio Extensibility Platform chart from microsoft. Most of the things are clear to me. However, I am wondering about the Package API and the VSL (Visual Studio Library). I tried to find more, but was…
7
votes
1 answer

Visual Studio 2015 toolbar combo, how to manage the value entered by the user correctly?

I have defined a dynamic combo for a toolbar in a VSIX package for Visual Studio 2015 using this setting in the VSCT file:
7
votes
1 answer

Porting Visual Studio VSPackage to SSMS 2012 or 2014

I recently discovered an extension for visual studio that allows you to specify a watermark for the code window. This extension can be found on github here. https://github.com/nategreenwood/VSEditorBackgroundChangerExtension As part of a small…
7
votes
1 answer

Using the EnvDTE assembly

Is it possible to use the EnvDTE assembly in a non-extension project (e.g. a Class Library project)? If so, how would I access the ConfigurationManager.ActiveConfiguration property? This question answers exactly what I want, but I couldn't get the…
talles
  • 14,356
  • 8
  • 45
  • 58
1
2
3
24 25