Questions tagged [vssdk]

The Visual Studio SDK helps you extend Visual Studio features or integrate new features into Visual Studio. You can distribute your extensions to other users, as well as to the Visual Studio Gallery. The following are some of the ways in which you can extend Visual Studio:

  • Add commands, buttons, menus, and other UI elements to the IDE

  • Add tool windows for new functionality

  • Extend IntelliSense for a given language, or provide IntelliSense for new programming languages

  • Use light bulbs to provide hints and suggestions that help developers write better code

  • Enable support for a new language

  • Add a custom project type

  • Reach millions of developers via the Visual Studio Gallery

54 questions
1
vote
1 answer

How to automate applying solutions that VS quick action offer to solve Stylecop(roslyn) code style errors

I'm introduce stylecop functionality with custom rule set in massive application that contain more than 100 projects. Roslyn compiler show errors and warnings in existing code and VS offers common fixes (quick actions). You press Ctrl+. and see…
1
vote
1 answer

Get IVsBuildPropertyStorage2 instance in visual studio extension

I am developing a visual studio extension, and I need to set some msbuild properties in .csproj file. The IVsBuildPropertyStorage interface is able to set properties, but it does not support un-evaluated value, such as $(Configuration). So, I want…
nobodyiam
  • 11
  • 3
1
vote
0 answers

Visual Studio Extension to modify the Go to All search results?

Would it be possible to create an extensions that modifies what appears in the Go to All search results of Visual Studio 2017? I'd like to build an extension that lets the user (within Tools -> Options...) define any number of glob patterns for…
Dan Pettersson
  • 713
  • 5
  • 17
1
vote
1 answer

Where can I download the latest version of VSLangProj150

I'm looking for the current version of VSLangProj150.dll but I can't seem to find it anywhere. I have this version, VSLangProj150.15.0.26228 retrieved from nuget but I believe this is an old version because: 1) it was published on 4/13/2017 and 2)…
Kabua
  • 889
  • 8
  • 19
1
vote
2 answers

FileNotFoundException when preprocessing T4 templates from build server

I'm trying to follow the instructions in Microsoft's document Code Generation in a Build Process to rebuild T4 templates on our build server. When I build, template generation is failing with the error (the full MSBuild output is later in this…
Stephen Jennings
  • 12,494
  • 5
  • 47
  • 66
1
vote
0 answers

Importing vss-web-extension-sdk modules in Angular-CLI components

I'm trying to create a VSTS/TFS extension which is based on an angular/cli app. I've created a new app using ng new and it compiles and serves fine. Now, my problem is referencing and consuming the vss sdk in my components. I've made some changes…
shayc
  • 121
  • 9
1
vote
1 answer

Work Item Query Policy to check workitems match on merge

With our TFS 2015 source control we require developers to check-in changes against work items. However, we've had a couple of instances where a developer has checked in against one work item within our development branch, but then when merging to…
user676437
  • 201
  • 1
  • 4
  • 13
1
vote
0 answers

Have Visual Studio Custom Editor Respond To Key Input

I'm working on a project where i need to create custom editors and use projection buffers for custom code files, i've managed to create a code window by following through the steps in this article …
YZeRocket
  • 11
  • 3
1
vote
0 answers

Get current Work item data in VSTS Extension

I am want to create a VSTS Extension for TFS 2015 Update 3 and I want to start slow. I want to create a custom action that shows the Id and the Title of the current Work Item in one pop up window. I have been reading the tutorials but I still don't…
spirosvp
  • 110
  • 8
0
votes
0 answers

I need an access to a Variable in VariableGroup in Azure DevOps for a Web Extension written in Html/JavaScript

I need to Know with full sample how to set and read the values of variable from variable group in project library in azure devops from external html page that used as web extension in the project My Extension Manifest { "manifestVersion": 1, …
0
votes
0 answers

What should i do to create Custom code validator according to my sdk in visual studio

I have never developed visual studio extensions. I don't know what should I do create custom validator that will validate code written in c# using my dll, whether they confirm to certain criteria. For example, I have a class like this: public class…
Saurav
  • 592
  • 4
  • 21
0
votes
0 answers

ADO Custom widget missing configuration settings

I’m currently working on a custom widget that create a visual interpretation of work items within a project in ADO. We built the custom widget with finalize code in a personal test ADO account. Now, we moved to the company’s ADO account and deploy…
0
votes
1 answer

Foreign key Bit values of SQL Server underlying members UpdateAction and DeleteAction

Does anyone know where I can find documentation on the bit values for SqlServer's ForeignKey underlying members UpdateAction and DeleteAction. They are type Int32 but I am struggling to find any documentation on how the bits in each equate to No…
Greg C
  • 11
  • 2
0
votes
0 answers

VsixSignTool fails without any output on Windows Server 2022

I am establishing a new Azure DevOps build server on an Azure VM running Windows Server 2022. Running the VsixSignTool fails in the build pipeline on this server. I am replacing an old build server where this pipeline runs correctly. The old build…
0
votes
0 answers

Problem while building project for the first time in Visual Studio

When I open project for a first time I got this error while building in debug: Microsoft.VSSDK.BuildTools.14.3.25420\tools\VSSDK\Microsoft.VsSDK.Common.targets(93,5): error VSSDK1036: Can not find the installation for VS…