Questions tagged [visual-studio-sdk]

The Visual Studio SDK includes documentation, samples, and code to help you develop products that integrate with the Visual Studio product family.

290 questions
0
votes
1 answer

Access "Embed Interop Types" property of a project reference programatically

I am writing a plugin for Visual Studio, I am able to see all the properties of all the references for a project, except for one property. How can I access the "Embed Interop Types" property of a reference programmatically? Right now I am using the…
0
votes
1 answer

Make 'Code Jumper' extension (its source-code) work with Vb.Net Modules

SCENARIO Code Jumper is a time-saver extension/plugin for Visual Studio that adds a kind of navigation panel to easily jump between the members of your code with a single click. For big APIs it's really useful because it avoids scrolling thousands…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
0
votes
1 answer

Trying to get file name and line number from editor on right click menu option Visual Studio 2015 Add-In: SDK, API…

I have been trying to get the current line number and file name of the text/code editor window on a right click function. However for the life of me I can not work out where it gets the current line number or file name context from... I currently…
0
votes
1 answer

Trying to make a Visual Studio 2015 Add-In: SDK, API.... (Reagrding ribbon or whatever its called)

I have been trying to get my head around the SDK API for visual studio for a while now. The problem is I know what I want/need to do. However I can not find a code example or API documentation anywhere that allows me to do what I want :( I know its…
0
votes
1 answer

Visual Studio SDK - IViewTagAggregatorFactoryService.CreateTagAggregator causes an exception

I need to obtain classifications tags for ITextSnapshotLine lines in a current text view. First, I get the active text view: public static IWpfTextView GetTextView() { var textManager =…
0
votes
1 answer

Visual Studio (Isolated Shell) is hanging when loading or resetting user-settings

We have an application that uses the Visual Studio Isolated Shell 2013. When installing the application we clear the registry, in order to remove older versions. But when starting the application for the first time on a Windows 7 machine, the…
Alexander Pacha
  • 9,187
  • 3
  • 68
  • 108
0
votes
1 answer

How do it create a Visual Studio 2015 Package, and - where the heck is the SDK?

Trying to create a "Visual Studio Package" (a tool for use by developers within Visual Studio itself) for Microsoft Visual Studio 2015 ? A book I bought indicates that option ought to be accessible via "New Project" > Templates > Visual C# >…
0
votes
2 answers

Is it possible to display an extension in the dropdown menu of team explorer

For my team explorer extension I would like to display it in the drop down menu of team explorer. If a page of my extension is showing it shows up in the menu, but if the page isn't displaying it doesn't show. The drop down menu I am referring to is…
Steve
  • 502
  • 3
  • 12
0
votes
2 answers

Save and Reload Data in C sharp forms

I am looking for the solution to save and reload what I enter into my text boxes or what I filled in my ComboBoxes. Here is the code I current have, but I am not 100% sure it is all correct. I am only posting the code I need help with. If you need…
E_T_A
  • 39
  • 1
  • 1
  • 10
0
votes
1 answer

Add registry key during vsix installation

Is there any way to dynamically add a registry key while installing from a vsix? For example: Say we have SomeExtension.vsix. It should check for a AnExisting.dll under C:\Program Files (x86)\Existing\AnExisting.dll C:\Program Files…
dushyantp
  • 4,398
  • 7
  • 37
  • 59
0
votes
1 answer

Access dte.ActiveDocument.ActiveWindow object in EnvDTE

I'm developing a Visual Studio Extension (Package), capable of interacting with Workflow Foundation 4 activities. If the activity is opened in "code view", I'm able to access the xaml code and parse it's properties. But if the activity is opened in…
Tom
  • 302
  • 2
  • 5
  • 14
0
votes
1 answer

Include custom information in the generated Xaml Activity in WF4

I need to include in the generated xaml activity some additional information, something like identity information (a comment in document head), unfortunately moving from designer to code editor this information is lost due to the automatic…
0
votes
0 answers

T4 include in extension throws UriFormatException

I am working on a VISIX project that would generate some classes with T4 templates. All my T4 templates include a common utility template 'Utilities.t4'. However when I initiate the generation of the code, I get the following error in VS 2015: There…
Valo
  • 1,872
  • 2
  • 15
  • 23
0
votes
1 answer

How to open project properties for given project?

I'm writing a Visual Studio extension. Given a particular project (an IVsHierarchy as returned by VsShellUtilities.GetProject), how can I open the 'project properties' window for that project?
Colonel Panic
  • 132,665
  • 89
  • 401
  • 465
0
votes
1 answer

Where can I find ITestDiscoverer? (Visual Studio 2015)

I'm trying to write a new test add in for Visual Studio 2015 and having a really hard time working out what the "current" way to do it is. Everything I google seems to be for older versions. I installed the Visual Studio Extension Components and…
flukus
  • 996
  • 8
  • 18