AppDomain not working for Extension of Visual Studio
I have developed an extension for Visual Studio. And in my extension code, I am trying to load a dll into my own new AppDomain. Below is the code which I am trying. AppDomainSetup setupInfo = new...
View ArticleSetting a parent contextual menu location without an ID
Hello there, I am trying to add a command to a contextual menu in the PDW menus, and I'm not sure how to do so because I don't have an ID for the parent menu.I did find the GUID of the parent menu,...
View ArticleCustom ASPNETCORE Scaffolding extension is throw exception with word Key
I created a custom extension for Asp.net core scaffolding. I updated visual studio 2019 16.6 version and then install custom scaffolding extension into visual studio then perform scaffolding in core...
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 ArticleHow 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