Geeks With Blogs



Utkarsh Shigihalli Microsoft MVP and Microsoft ALM Ranger writing on Visual Studio Extensibility, ALM and .NET Visual Studio Integrate
Better way to load dependent assemblies in your Visual Studio extensions
I had previously written on how to load custom assemblies in your extension using AppDomain.CurrentDomain.Ass... It required few lines of code to be written in your VS package class. Today I am going to show you an easier way of doing the same. Visual Studio provides ProvideBindingPath attribute which lets Visual Studio know other paths from where your extension loads the assemblies. The usage of this attribute is very simple, you just need to decorate your package class with it. [Guid(GuidList.guidmin2015P... ......

Posted On Saturday, December 13, 2014 4:46 PM

Link To Work Item – Visual Studio extension to link changeset(s) to work item directly from VS history window
By linking work items and other objects, you can track related work, dependencies, and changes made over time. As the following illustration shows, specific link types are used to track specific work items and actions. (– via MSDN) While making a check-in, Visual Studio 2013 provides you a quick way to search and assign a work item via pending changes section in Team Explorer. However, if you forget to assign the work item during your check-in, things really get cumbersome as Visual Studio does not ......

Posted On Monday, August 11, 2014 1:32 AM

Using progress dialog in Visual Studio extensions
As a Visual Studio extension developer you are required to keep the aesthetics of Visual Studio in tact when you integrate your extension with Visual Studio. Your extension looks odd when you try to use windows controls and dialogs in your extensions. Visual Studio SDK exposes many interfaces so that your extension looks as integrated with Visual Studio as possible. When your extension is performing a long running task, you have many options to notify the progress to the user. One such option is ......

Posted On Friday, May 23, 2014 8:17 PM

How to fix build error "Invalid command line switch for CreatePkgDef.exe. Can not find the tools for VS SDK"
P.S: I found this solution in the MSDN forum. I am merely posting it in my blog because I made this mistake twice and also I thought I should just document it here :-) Problem: You are building a Visual Studio package and using hosted build server to build your code. When you build you get following error. Cause: I initially thought build server does not have VS SDK installed. However, thanks to the answer by Jeff in this forum question I was able to know the actual cause. I am quoting the below ......

Posted On Friday, December 27, 2013 7:21 PM

How to open web page in internal browser of Visual Studio
Tarun and I have started working on new Visual Studio extension, which we plan to release in couple of weeks after Christmas. One of the first thing I do as soon as we start the work on new tool/extension, is to gather all the features we have planned and build as many sample extensions as I can (each extension doing part of the functionality which is demo-able). This helps me to get the sense of complexity and also minimal code needed for a functionality to work. Another benefit is, we get the advantages ......

Posted On Friday, December 6, 2013 4:57 PM

Persisting settings without using Options dialog in Visual Studio
In one of my previous blog post we have seen persisting settings using Visual Studio's options dialog. Visual Studio options has many advantages in automatically persisting user options for you. However, during our latest Team Rooms extension development, we decided to provide our users; ability to use our preferences directly from Team Explorer. The main reason was that we had only one simple option for user and we thought it is cumbersome for user to go to Tools –> Options dialog to change this. ......

Posted On Saturday, November 2, 2013 5:14 PM

What's new in Team Rooms for Visual Studio 2013
Download: http://visualstudiogallery.... Date Version Changes 20 May 2014 v1.2.9 Incorporated latest API changes Fix for infinite message box issue when connection is lost with server. 01 May 2014 v1.2.8 Modified logic to show the Team Rooms button in Team Explorer Minor UI fixes 23 Mar 2014 v1.2.7 Incorporated latest API changes 11 Jan 2014 v1.2.6 New Features: Trends – See what is hot topic in your chat stream, helps you to identify burning issues ......

Posted On Saturday, October 26, 2013 12:16 AM

Passing parameters to Visual Studio tool window using IServiceProvider
Assumption: You have a toolwindow in your extension and show it on click of a menu/button/link as below. ToolWindowPane windowPane = Package.FindToolWindow(type... 0, true); var control = windowPane.Content as TeamRoomToolWindowContent; if (control != null) { var frame = windowPane.Frame as IVsWindowFrame; if (frame != null) { frame.Show(); } } OR IVsUIShell service = _serviceProvider.GetService... as IVsUIShell; if (service != null) { IVsWindowFrame winFrame; ......

Posted On Wednesday, October 16, 2013 8:00 PM

Issues while extending Team Explorer in Visual Studio 2013
If you have extended Team Explorer 2012 through your Visual Studio extension, I am sure you would have referred code from this article. The code in that article provides you all the necessary infrastructure to quickly integrate your extension with Team Explorer in Visual Studio 2012. However, with Visual Studio 2013 RC released, you will face an issue if you use the same base project to migrate your extension to Visual Studio 2013. So, in this blog post I will let you know what is the issue you will ......

Posted On Saturday, September 14, 2013 6:23 PM

Showing TeamExplorer Navigation Item only when connected to a Team Project
Team Explorer in Visual Studio 2012 displays many context sensitive navigation items and links. If you would like to know what are navigation items and links take a look at the below picture. The team explorer shows certain navigation items (for example: My Work, Pending Changes etc) only when you are connected to TFS. These items are hidden (for obivious reasons) when you are not connected. In this blog post I will show you how to to hide/show the your custom navigation items in team explorer similar ......

Posted On Monday, September 9, 2013 2:07 PM

Copyright © Utkarsh Shigihalli | Powered by: