Set up Visual Studio Code to work on your VSTS Git Repositories

All of my day-to-day projects are using Team Foundation Version Control (TFVC) repositories, but recently we have been considering using Git. This is for a few reasons, but one of the big ones is the rich functionality that is provided in Visual Studio Code. Whilst at Ignite I mentioned this to one of the VSTS … Continue reading Set up Visual Studio Code to work on your VSTS Git Repositories

Using TypeScript to load modules in a Visual Studio Team Services Extension

Whilst using TypeScript to work on my Visual Studio Team Services extension, I am bringing in modules using import/require: Which compiles to the below JavaScript: But when I run the extension I get the below error in the browser's console– Uncaught ReferenceError: define is not defined Visual Studio Team Services uses Asyncronous Module Definition (AMD) to … Continue reading Using TypeScript to load modules in a Visual Studio Team Services Extension

TFS.WebApi.Exception: 401 in Visual Studio Team Services Extension

Whilst creating a Visual Studio Team Services (formally Visual Studio Online) extension to work on some work items, I came across the following issue when using the REST client to get a list of work items: As I have been at this for a while, I missed an update to the manifest that defines Scopes, which … Continue reading TFS.WebApi.Exception: 401 in Visual Studio Team Services Extension