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

Deploying Application that use SWI-Prolog without installing SWI-Prolog

I create a VS-Package application (.vsix) that uses SWI-Prolog inside it. My question is: how can I deploy my VS-Package application (VS 2012) without requiring the user the run the SWI-Prolog installer? Is it possible for me to just create a…
Budi Hartanto
  • 337
  • 3
  • 14
0
votes
1 answer

State driven menuitem in Visual Studio 2012 extension

I am writing a Visual Studio 2012 extension that defines several sub-menus to go in two existing Visual Studio context menus. The sub-menu items appear to work correctly except for one thing: Until the first menu item in my package is clicked, the…
Gil
  • 128
  • 1
  • 1
  • 7
0
votes
2 answers

Obtaining Solution Name in ToolWindow of VSpackage

I'm new to Visual Studio Extensibility Framework to use VSPackage Extension. I want to obtain a DTE Object inside the user-control which is called inside MyToolWindow class. I tried all the below possibilities: 1.EnvDTE80.DTE2 dte2; dte2 =…
shishi
  • 107
  • 1
  • 2
  • 8
0
votes
1 answer

Distributing a Visual Studio Isolated Shell application

I'm thinking about implementing an application using the Visual Studio isolated shell. The way to include the dependencies is including the Visual Studio isolated shell redistributable package, but it's 221.6Mb. It's very big for us. Do you know…
Daniel Peñalba
  • 30,507
  • 32
  • 137
  • 219
0
votes
1 answer

VS package deployed not showing up in package load analyzer

I developed a vspackage. To deploy I have followed the steps in the MSDN Walkthrough: Deploying a VSPackage. After following the walkthrough, my package does not show up in the Package Load Analyzer, nor does my package gets initialized. I am…
Kishen
  • 36
  • 2
0
votes
1 answer

How to make commands of the inactive/hidden “Tool Window” accessible?

I have one VSPackage with some commands registered in the Initialize() function and are accessible globally using toolbar/menu/shortcut keys. This VSPackage also has one Tool Window (derived from ToolWindowPane) similar to Solution Explorer with its…
vltech
  • 13
  • 1
  • 3
0
votes
1 answer

Loading in XNA content (Texture2Ds) inside of a VSPackage?

I am trying to dynamically load in XNA content into a VSPackage project. We would like to be able to draw a Texture2D to a graphics device control inside of Visual Studio as an add-in. We managed to dynamically load XNA content inside of a form…
0
votes
1 answer

What is the "Organize Usings" menu ID in Visual Studio 2010?

I'm creating a Visual Studio 2010 extension using a Package template, not an Add-in. I want to add a menu item to the "Organize Usings" menu group that appears when you right-click in a .cs file. To do this, I need the guid and the id of that menu…
lettucemode
  • 422
  • 4
  • 14
0
votes
1 answer

Do not load VS packages under the experimental instance

I have installed a package in VS 2010 using the regpkg.exe utility. When I launch the Experimental instance using the switch /rootsuffix Exp the package is loaded. I would like to disable the package only for the experimental instance Even if I…
Daniel Peñalba
  • 30,507
  • 32
  • 137
  • 219
0
votes
1 answer

Check out file from VS2010 VsPackage

I have a VS2010 VsPackage that implements an editor for a certain XML based file format. Currently I'm displaying an error in case the file is read-only. I would like to check if the file is under source code control before editing and offer to…
MvdD
  • 22,082
  • 8
  • 65
  • 93
0
votes
1 answer

How to access project code meta data?

In my VSPackage I need to replace reference to a property in code with its actual value. For example public static void Main(string[] args) { Console.WriteLine(Resource.HelloWorld); } What I want is to replace "Resource.HelloWorld" with its…
cre8or
  • 387
  • 3
  • 10
0
votes
1 answer

insert Code before Build

I am building a vspackage for Visual Studio 2010, and need to be able to inject code invisibly into every function in the solution during the build process. Currently I can use this: TextDocument doc = (elemInfo.ProjectItem.Document.Object() as…
LynchDev
  • 793
  • 1
  • 12
  • 27
0
votes
1 answer

Is there a way to add a custom file filter to Visual Studio's open file dialog through a VSIX extension?

I'm implementing a set of MEF extensions through a VSIX extension project. This is for a small internal DSL. I can get syntax highlighting working just fine. What I would like to do is to be able to have an associated file filter entry in the Open…
Kelsie
  • 1,000
  • 1
  • 9
  • 21
-1
votes
1 answer

Visual Studio Extension that alters the build process

After reading documentation I have concluded that developing an own "VSPackage" is the most powerful way of extending Visual Studio's behaviour. Now I want to build an extension which modifies the build (compilation) behaviour of VS for C/C++…
user1101674
  • 1,341
  • 2
  • 12
  • 15
-1
votes
1 answer

Why I get the problems with Visual Studio "2013" SDK samples?

Visual Studio 2013 Premium Update 4; Visual Studio 2013 SDK installed. I see the code sources are for older Visual Stuido version. It has a link to Visual Studio 2010 (instead of 2013) SDK Samples.zip file. I try compile its some projects but I get…
Andrey Bushman
  • 11,712
  • 17
  • 87
  • 182
1 2 3
24
25