Visual Studio Packages 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 VS Packages include tool windows and editors to provide additional UI functionality and menus to provide access to additional services and functions.
Questions tagged [visual-studio-package]
39 questions
2
votes
1 answer
Visual Studio Package - Include and use external resources (Images) over the code
I am currently working on a visual studio package project in C#, that provides a new tool window to store and copy custom code snippets.
So far, I designed the little window as follow:
The XAML code for the window is:

Sago
- 75
- 8
2
votes
1 answer
Call visual studio modal dialog
I'm developing some visual studio package projects(vsix) and I need to show a modal dialog box preventing clicks behind it. Something like visual studio About dialog box.
Clicks behind this dialog are denied while it is being shown.
I did try it…

Márcio Gonzalez
- 1,020
- 1
- 8
- 20
2
votes
0 answers
Start New Instance of specific project
I am trying to start a new instance of a project in my solution. I know I can change the StartupProjects and then start the debugger, but in my case this does not work, because the debugger might already be running and I don't want to change the…

flayn
- 5,272
- 4
- 48
- 69
2
votes
1 answer
Signing the contents of a Visual Studio Package (and the VSIX itself)
I have a Visual Studio package project which, when compiled creates me a DLL and that DLL is placed inside a .VSIX file (which I then double-click to install).
I wish to sign the DLL and also ensure that the VSIX is signed.
I have looked at Signing…

Kram
- 4,099
- 4
- 39
- 60
2
votes
1 answer
Adding a tool window to an exisiting VS extension package - FindToolWindow fails
I have a VS package with no tool windows, and now I want to add a first tool window to it. This is what I've done:
Created an empty class derived from ToolWindowPane.
Added Guid attribute to this class. I've generated a new GUID with the Visual…

Violet Giraffe
- 32,368
- 48
- 194
- 335
1
vote
1 answer
"Run Code Analysis" does not run my code analyzer
I have written a code analyzer as part of my Visual Studio Package.
This corresponds to the instructions on this page except that it is part of my existing Package and not a stand-alone analyzer.
The analyzer registers itself to analyze the the…

Phil Jollans
- 3,605
- 2
- 37
- 50
1
vote
1 answer
My context menu item made by menu command in Visual Studio Package is not shown in cshtml files
I made a menu command and it works fine in .cs files as you can see below.
The penultimate item "Build this project" is the created item.
But when I try it in cshtml files, this item is not shown.
I'm suspecting that the problem is in the Groups…

Márcio Gonzalez
- 1,020
- 1
- 8
- 20
1
vote
1 answer
Attaching to process in Visual Studio Package
I'm trying to write a Visual Studio Package that will attach the debugger to a named process.
I am using the following code in my package.
var info = new VsDebugTargetInfo
{
dlo = DEBUG_LAUNCH_OPERATION.DLO_AlreadyRunning,
…

Alan Hinton
- 489
- 4
- 6
1
vote
1 answer
Visual Studio Extension: Build error VSSDK1043: "There was a prblem finding the extension with a VSIX identifier..."
I am trying to debug my extensions and suddenly I cannot build it anymore.
Error 1 There was a problem finding the extension with a VSIX
identifier of "1cdefdc6-1f5e-4027-9bb7-773248c65070". Illegal
characters in path.
I have rolled back all…

flayn
- 5,272
- 4
- 48
- 69
1
vote
1 answer
Can't open "source.extension.vsixmanifest" file in Designer Mode
I have Visual Studio 2012 Package Project (from VS2012 SDK). I can't remember what I have done before, but at this moment I get a following error when I try to open source.extension.vsixmanifest file in designer mode: "An item with the same key has…

sgnsajgon
- 664
- 2
- 13
- 56
1
vote
1 answer
MsBuild with Visual Studio 2012 Package Project
I have created .NET solution with Visual Studio 2012 Package Project (From VS2012 SDK). With Visual Studio I successfully compile and run this project (along with entire solution) in "Debug" configuration mode, and for "Any CPU" platform. But when I…

sgnsajgon
- 664
- 2
- 13
- 56
0
votes
1 answer
What would cause "Value cannot be null, Uristring" in a vsix installation?
In the latest version of Visual Studio, which is 16.6.2051, it is no longer possible to install my visual studio package.
I get the error
Value cannot be null.
Parameter name: uriString
The installation was working in previous version of visual…

Phil Jollans
- 3,605
- 2
- 37
- 50
0
votes
1 answer
Error installing Saxon 9.5 on .NET 2.0 project with package manager
I'm trying to install Saxon 9.5 HE (which is the last version being supported on .NET 2.0 as you can see on their official documentation) on Visual Studio 2012 Professional. This is what I get.
PM> Install-Package Saxon-HE -Version…

Andrea de'Rose
- 57
- 1
- 9
0
votes
1 answer
Receiving events from VS service in VSIX extension right from IDE startup
I am trying to create a Visual Studio Extension that closes the least recently used documents. In order to achieve this I need to be able to track when a document has been last used. The way I am doing this is registering a RDT table listener…

Eustace
- 313
- 5
- 12
0
votes
1 answer
How do I pick up the selected source file in a visual studio extension?
I am writing have a visual studio extension.
What I want to do is run a menu option (ok done this) which picks up the file I have selected using the source control explorer and works with it.
Any Ideas how I can get this file?
I really need the file…

Kevin Badger
- 91
- 1
- 1
- 3