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
1
vote
2 answers

How to use prism/unity for vspackage development since Bootstrapper is obsolete?

I create wpf application with Prism modularity. Now i'd like to create Visual Studio plugin(vspackage) while reusing UI part from previous app, aka using appropriate module from this app. I thought i could use Unity.Bootstrapper for it, but it seems…
1
vote
1 answer

What does the #110 and #112 mean in InstalledProductRegistration attribute for a VSPackage?

Boilerplate code for a VSPackage adds the InstalledProductRegistration to the package. For product name and product description it uses #110 and #112 for the arguments? What do those mean or map to? I can not find a comprehensively list…
meadisu
  • 204
  • 2
  • 11
1
vote
0 answers

How to specify VSPackage / VSIX Manifest prereq or install target version range?

I am trying to limit a VSIX/VSPackage to Visual Studio 2017 version 15.8 and up. However, I can't seem to get the correct combination of version numbers. Looking at the build numbers for VS 2017, I'd expect to enter [15.8.28010.0, 16.0) in the…
meadisu
  • 204
  • 2
  • 11
1
vote
0 answers

Dependency problems after update nuget packages of a VISX project

I'm creating a VISX project. It runs normally, but after I update all it's nuget packages, it start to show errors when I try to run it in the Visual Studio Experimental Instance. I tried to revert the packages, but it seems that some packages…
Thiago Romam
  • 439
  • 4
  • 14
1
vote
1 answer

Handling VSIX Toolwindow visibility events during 'Edit' and 'Debugging' layout changes

I have a Visual Studio toolwindow that implements IVsWindowFrameNotify3, and I can successfully track when the Window is being moved, shown or hidden during 'normal window operations' via user interaction. However when I run a loaded project the…
VorTechS
  • 473
  • 5
  • 12
1
vote
0 answers

Input keyboard not handled in Addin

Hi I have a problem with vspackage. My Addin is a simple window in which there is a form in which I write some data in text box. If I try to cancel what I wrote ( pressing "BACK" button), it does not work. How Can I solve this problem? It seems…
blinkettaro
  • 341
  • 6
  • 18
1
vote
1 answer

get the text under the mouse pointer

i am relatively new to C#. can anybody please tell me how to display the tool tip on the text editor...just as VS intellisense expands a particular method when we move the mouse over it??? Since i am Developing an adding i want the tool tip to be…
1
vote
1 answer

VSPackage, how to add a pointer type variable to a CodeClass

I'm working on my own vspackage. I can add variables to my class by using AddVariable. The "cl" is a class named "TestPage", and following code insert "TestPage mTestVariable" to my class. CodeClass cl = element as…
Yonghui
  • 222
  • 3
  • 16
1
vote
1 answer

Visual Studio extension window not showing up when debugging

I've developed a Visual Studio extension with two windows that can be displayed via View->Other Windows->... It used to work fine but for some reason those windows don't show anymore in the experimental instance of Visual Studio when debugging. I…
1
vote
0 answers

Replace Visual Studio's native debugging DataTip in VS extension

A few days ago I've started to play around with the creation of VS-extensions and their possibilities. How is it possible to either extend or replace the DataTip which is displayed while hovering over an object in the debugging mode? I'm currently…
1
vote
1 answer

Can't programmatically access a specific options page in Visual Studio

I can't seem to access the properties in Visual Studio's options programmatically. Specifically, I have an extension that I need to leverages TFS power tools. I would like to get the value of the folder where the Work Item Templates are stored.…
1
vote
1 answer

Choosing where my menu item appears for a VSPackage extension

I am trying to create a visual studio extension menu item and I am having a tough time finding out how to choose which context menu the extension shows up in. Example; I right click on a TFS ticket and I see my added menu item in the context menu…
1
vote
1 answer

VSPackage load order - load before another VSPackage?

How do you create a VSPackage that has a dependency on functionality in another VSPackage? In other words, if I have VSPackage A that exports a certain feature that I need in VSPackage B, how do I ensure that VSPackage B is loaded first? Thanks Matt
citizenmatt
  • 18,085
  • 5
  • 55
  • 60
1
vote
2 answers

VS2013 AddIn into VS2015 VSPackage: How can I create ToolWindow2

Can anyone please guide me how can I convert Add-Ins to VSPackage Extention without recreating/replicating everything into VSIX? I have one addin which is supporting VS2010 to VS2013. I have everything in .sln. I want to migrate/create .addin into…
1
vote
1 answer

Run Visual studio vs package in custom Hive (not Exp)

I'm developing a VsPackage and try to test it under Hive other then the Exp. I created a new Hive using the vs developer command prompt using the following command: devenv /rootsuffix MyExp And than run VS with /rootsuffix MyExp command line…
Eli Dagan
  • 808
  • 8
  • 14