How to make "Add Solution to Source Control" available?
I use Git in VS 2019:I have an existing solution. When I right-click the solution, I do not see the option of adding it to source control:You may wonder why the context menu has "Commit...". It is for...
View Article[Announcement] "Visual Studio Integrate" Forum will be migrated to a new home...
This "Visual Studio Integrate" Forum will be migrated to a new home onMicrosoft Q&A!We've listened to your feedback on how we can enhance the forum experience. Microsoft Q&A allows us to add...
View ArticleVSSDK Howto Fill MRUList into MRUListBox
I have an MruListBox container in a xaml and I want to fill them with the MruList of the latest used projects in VS2019.The code I use in the XAML is:<vs:MruListBoxItemsSource="{Binding...
View ArticleHosting Edge Chromium WebView2 in a tool window in VSIX extensions
We have been using the Internet Explorer based WebBrowser control in tool windows, editors, and dialogs in our extension. Barring the memory leak issues (which we overcame by making it out-of-proc), it...
View ArticleHow to extract build-order from solution?
Hello, All I have made VSPackage and own project type. After I have made test solution with several projects and configured build order. Now I want to write code which can extract build order from test...
View Article[VS2010 T4] Any way to obtain name of the current project?
Hello! There's a template which traverses all files in solution and generates helpers for some of them. Currently the bootstrap part looks likestring projectName = "SomeProject"; IServiceProvider...
View ArticleJava TFS SDK can't authenticate user when code is deployed to server
I'm using the Java TFS SDK to connect to on-premise TFS 2012 server. I'm updating it to use a new account to connect to TFS. When I run the code on my local machine it connects without issue. I can...
View ArticleSetting project debug options - deployment dir and files
Hi,I am developing Visual Studio Extension and use VCDebugSettings interface to set C++ project's debug options. This interface however does not let me set "Deployment Directory" and "Additional Files...
View ArticleRoslyn VSIX Breakpoints are not getting hit VS2019
I have built a custom diagnostics using Roslyn API. When I am trying to debug using the VSIX, the breakpoints are not getting hit. In the VSIX manifest I have added my analyzer as an analyzer as well...
View ArticleSSIS - OLE DB Query Editor Date Issue
I am new to SSIS and still finding my way around. Currently I am using SSIS to do a bulk insert from an AS400 table using OLE DB. The table I am pulling from returns 1.5 million records so I want to...
View ArticleIVCRulePropertyStorage methods throw exception after VS 2019 16.6 update
Hi,I am working on a extension setting debug properties for C++ projects. After update to VS 2019 version 16.6 methods IVCRulePropertyStorage.GetUnevaluatedPropertyValue() and...
View ArticleHow to get the use or be used count of the class members?
I am programming a VSIX project it's works to count the number and listing position of all members of all class of the entire project.This is a in-build feature of visual studio, it's in CodeLens,...
View ArticleVSO REST API - TFS/Core/RestClient GetTeamMembers is not a function
I have a custom hub that calls the Rest API via VSS. The call to retrieve the list of team members are now encounter an error, .getTeamMembers results into the TypeError: coreRestClient.getTeamMembers...
View ArticleHow do the custom command line scaffolding with the custom control
Hi I have seen there is a scaffolding command line tool (dotnet aspnet-codegenerator) available to add the controller and views in the ASP.NET Core project. As of now I am developing the Scaffolding UI...
View Articleuse $selected$ value in multiple places in custom snippet
I need to use the $selected$ value in multiple places in my snippet, but it only works one and renders blank after that.Snippet:<?xml version="1.0" encoding="utf-8"?><CodeSnippets...
View Articlehow to add a new line between using statements and namespace when using...
Now when I import namespaces it writes the using statements close to the namespace statement. I would like a line between them.Snippet:<?xml version="1.0" encoding="utf-8"?><CodeSnippets...
View ArticleIdentify if an ItemId in an Hierarchy is a Dependency
I am not quite sure how you would go about checking whether an itemId in an IVsHierarchy is a Dependency Node, which is the parent node of all references of a project.
View ArticleDebugging a DLL from my own Visual Studio Extension
I have developed a custom my own Visual Studio Extension. And in that Extension Window, I am calling a class library (DLL) and access the Classes, Methods and Properties of those classes inside the...
View ArticleUse ISubScriber in TFS2012/2017 works fine, but cannot find namespace and dll...
Up to TFS 2017 there was a library in Plugins folder called Microsoft.TeamFoundation.Framework.Server it contained ISubscriber interface which one could override in order to attach hooks and add...
View ArticleIcons don't load for standard toolbar, when migrating an extensibility...
I work on a commercial application that is developed using Visual Studio 2010 Isolated Shell. Being an extensibility solution, our application reuses standard toolbars that come from the Isolated Shell...
View Article