Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

Getting start with a Team Explorer Plugin for VS 2013 Part 1

, 10 Jan 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
In these posts we will be going through creating different elements that can be found in the Team Explorer, the aim is to give you the ground knowledge required to extend Team Explorer your way. For an example of some great Team Explorer plugins that demonstrate how much you can do take a look at Te

In these posts we will be going through creating different elements that can be found in the Team Explorer, the aim is to give you the ground knowledge required to extend Team Explorer your way. For an example of some great Team Explorer plugins that demonstrate how much you can do take a look at Team Rooms for Visual Studio 2013 and News which were created by Utkarsh Shigihalli and Tarun Arora for Team Explorer in Visual Studio 2013.

What you'll need

Create the a new blank Visual Studio Package

Open Up Visual Studio in Administrator mode and create a new Visual Studio Package

image

Use the following options in the Visual Studio Package Wizard

Page 1 of 7 - Select your language as Visual C# and Generate a new key file to sign the assembly

image

Page 2 of 7 - Enter the Basic VSPackage Information

image

Page 3 of 7 - leave all unchecked

image

Page 7 of 7 - You should select Integration Test Project and Unit Test Project but for now deselect these Smile

image

Click Finish, Visual Studio will now crate the base Project for you and automatically open the source.extension.vsixmanifest file. With this file open there is one thing that we are going to want to add. We are going to require the MEF Component Asset. Thanks must go to Utkarsh Shigihalli for helping with this part Smile. Switch to the Assets tab and click New, select the options to complete the window as below

image

The last step to setup this solution for our sample plugin is to add a reference to Microsoft.TeamFoundation.Controls assembly which can be found by default in the folder C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v4.5\and System.ComponentModel.Composition.

image

Your solution is now ready to start adding Team Explorer Extensions.

Take a look at Getting start with a Team Explorer Plugin for VS 2013 Part 2 where we will be adding a new Team Explorer Navigation Item.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Gordon W Beeming
Software Developer Derivco
South Africa South Africa
Gordon Beeming is a Software Developer at Derivco in the sunny city of Durban, South Africa. He spends most his time hacking away at the keyboard in Visual Studio or with his family relaxing. He is a Visual Studio ALM Rangers, Visual Studio ALM MVP and Friend of Red Gate. His blog is at 31og.com and you can follow him on Twitter at twitter.com/gordonbeeming
 
http://31og.com
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 10 Jan 2014
Article Copyright 2014 by Gordon W Beeming
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid