Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
June 5, 2018 10:46
October 3, 2018 11:30
April 4, 2022 11:17
October 5, 2017 15:33
October 19, 2017 22:13
July 18, 2018 13:51
June 23, 2015 14:16
August 2, 2022 17:06
October 19, 2017 16:01

Visual Studio Extensibility Samples

Join the chat at Build status

These samples demonstrate how to customize the appearance and behavior of the Visual Studio IDE and editor. 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
  • Add support in Visual Studio for new programming languages
  • Add refactoring or language analyzers to fix and improve code
  • Add a custom project type or new project or item templates

If you've never written a Visual Studio extension before, we've got some great resources to get started.

Getting started

  1. Clone the repo to download all samples (How to)

    git clone

  2. Read the readme included with each sample and try it in Visual Studio

Other extensibility samples

  • If you're building XAML controls for UWP that are deployed as NuGet packages, you can add design-time support so that they automatically appear in the toolbox when they are referenced. This sample is in the NuGet repo.

  • We have separate repositories and documentation for writing extensions for other members of the Visual Studio family:

Other useful resources

  • Publish your completed extension to the Visual Studio Marketplace, which provides a convenient place for developers to find and install your extension.

  • Join the Visual Studio Partner Program for free to get access to dedicated resources to support you as an extension publisher.

  • For details on how to create user experiences that are seamless and consistent within the IDE, visit the Visual Studio User Experience Guidelines. You will also find information about the common user models and interaction patterns that are used and how you can utilize them as well.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Thank you for your support for Visual Studio - we're excited to see what extensions you build!