Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 2.62 KB

README.md

File metadata and controls

56 lines (35 loc) · 2.62 KB

Visual Studio Online Extension Samples

This repo contains samples to help jump-start you in your development of Extensions for Visual Studio Online.

Getting started

Pre-requisites

  1. Join the Visual Studio Partner program to get early access to the Extensions feature
  2. Verify the Extensions feature has been enabled on your account by navigating to https://youraccount.visualstudio.com/_admin/_ext.
  3. Available local or cloud web server with HTTPS (IIS, Node.js, Azure Web App, Heroku, etc)

Steps

  1. Clone this repo
  2. Browse to the folder of the extension you are interested in trying
  3. Publish the contents of the extension to a local or cloud web server
  1. Copy the extension manifest file (extension.json) to something like extension-me.json
  • You do not need to re-deploy/re-publish after updating this file
  1. Update this extension manifest file:
  2. Update the namespace field to a globally-unique value. For example: johnsmith.samples.build-inspector
  3. Update the baseUri field to be the fully-qualified URL to the root of your web server, for example: https://myserver
  4. Install the extension into your Visual Studio Online account
  5. Navigate to https://youraccount.visualstudio.com/_admin/_ext (replace youraccount with your real account name)
  6. Click Install and browse to your manifest file, for example extension-me.json
  7. Click OK

What's available

Branch delete

image

Clean up old or unneeded Git branches right from within Visual Studio Online.

Contribution point guide

image

Discover all the places (called contribution points) in Visual Studio Online you can extend, including hubs, toolbars, and context menus, and more.

Build inspector

Demonstrates advanced extension concepts like AMD loading, using UI controls, history, and more. This sample is written in TypeScript and must be built before it can be installed. Open readme.md for instructions.

UI

image

Explore different UI controls, including menus, toolbars, custom controls, and more.

Public events (for Team Calendar)

Adds an event source to the Team Calendar extension for public holidays. Note that this sample contributes to another extension rather than core Visual Studio Online.