Azure DevOps Automatically populate your Source branch when publishing to Sonar When you enable your build definition to trigger on multiple branches, you may not want them all to publish into the same Sonar project. Sonar has the concept of Branches, they're simply appended to the Project Key with a -. This prevents an old Hotfix build from messing
Azure DevOps Define a custom Authentication Scheme for your VSTS extension The standard Authentication Schemed in VSTS include Basic (username/password), Token, Service Credential (for Azure) and AzureCertificate Authentication. If you simply need a username password or a Personal Access token you can derive your own Credential Type from one of the exiting Authentication Schemes. You can see an example of
Azure DevOps Reference specific line of a file in the Code hub One of the features of GitHub I use quite often is the ability to right-click any line number to create a link to that specific file on the exact line. It can eb useful when submitting issues or when providing a link to a piece of sample code. While not
Azure DevOps Access all available build variables from your VSTS Build task > This StackOverflow answer covers the options in the Node and PowerShell3 handlers [https://stackoverflow.com/a/55610724/736079]. NOTE: This cmdlet works with the Powershell host that shipped with TFS 2015 RTM and which will be replaced with a new task runner. Whether this functionality will remain, is uncertain
Scrum Scaling Scrum Professionally using Nexus and Visual Studio Team Services If you have been using Scrum to develop products, you have probably found that the Scrum Guide only describes the core rules of Scrum, regardless of scale. A lot of companies want to use Scrum to work on multiple products or to develop a comprehensive product that requires multiple teams.
TFS 2015 Configure SSL for SonarQube on Windows The documentation for SonarQube explains how to configure SSL when you're running on Linux [http://docs.sonarqube.org/display/SONAR/Running+SonarQube+Over+HTTPS]and how to use the native Tomcat functionality for a simple test environment, yet they recommend not to use this functionality in any production
Azure DevOps Binary promotion of Visual Studio Team Service Extension When creating a Visual Studio Team Services extension (such as a collection of build tasks), it makes sense to publish it as a privateextension first. You can do this by overwriting the extensionid from the commandline, but there is no direct commandline switch to override the visibility of an extension.
TFS 2015 Publish Build Tasks to TFS 2015 without configuring Basic Auth on the server When you want to publish build tasks to a TFS 2015 server, you need a Basic Authentication enabled endpoint. Unless your server is configured with SSL, this is a major security concern. Until now the guidance I received was to setup a second Application Tier, configure it with Basic Auth
Azure DevOps Mimic the XAML build's Output Location option in Build 2015 If you've been using XAML builds in the past, you've probably discovered that, by default, it drops all the outputs of all your projects into one folder called the Binaries Folder. Unless you do anything using a post-build script, the contents of that folder will be
Azure DevOps Manipulating your TFVC repository from Build 2015 Though generally considered a bad practice I crafted two build tasks to manipulate your TFVC repository from the build [https://github.com/jessehouwing/vsts-tfvc-tasks]. You can now edit, delete and add files and check those changes in when you're ready. Before I explain how they work and how
TFS Aggregator TFS Aggregator featured on RadioTFS One of the projects I've been involved with is the TFS Aggregator. It's a rules processor which allows you to do creative and crazy things whenever a work item changes in TFS or Visual Studio Tea Services. People use it for calculating the Weighted Shorted Job
Azure DevOps Building multiple configurations and/or platforms in Build 2015 In XAML builds you could specify one or more configurations to build, if you left these values empty, the solution default would be built. Unless you were using a customized build template, each build|configuration pair would be built and tested in sequence. The Build Agent will create a sub-folder
Azure DevOps Upgrading from XAML to Build 2015 with minimal changes This series is currently a work in progress XAML builds on Visual Studio Team Services will be deprecated in September 2016. While support for XAML builds seems to stay around on-premise for a little while longer, it's time to upgrade to Build 2015. You may have invested quite
Azure DevOps Access multiple TFVC repositories in a Build 2015 definition When you have a TFS project collection with many Team Projects, it's a common practice to have a "shared" project containing a collection of commonly used libraries. This library may consist of Checkin policies, Build Activities, MsBuild tasks and Custom MsBuild targets. The alternative used to
Azure DevOps Add additional fields to "Edit Test Case using Grid" option in VS Team Services If you're bulk-creating, importing or editing test cases in Visual Studio Team Services, you're probably aware of the "Edit as Grid" option, which opens your test case in a spreadsheet like layout for bulk editing: Not many people know that you can extend this
Azure DevOps Work around now commercial features of OpsHub VSO Migration Utility OpsHub has a relatively simple tool to help you migrate your work items and version control data [http://www.opshub.com/main/index.php/products/vsomigrationutility] from an on-premise TFS server to Visual Studio Team Services. They recently released version 2.0, which brings a number of improvements. Unfortunately this
Windows 10 Mount OneDrive as a Network Drive Ever wanted to upload a lot of data to OneDrive without having to sync that folder to your local machine (updating my music library is pretty hard, as to put data into the folder, I first need to sync it locally). Ever wanted to download a few specific files from
Azure DevOps Visual Studio Online is now Visual Studio Team Services In an attempt to remove the confusion whether Visual Studio Online is an IDE in the Cloud, Microsoft has decided to rename Visual Studio Online [http://blogs.msdn.com/b/bharry/archive/2015/11/18/news-from-connect-2015.aspx] to: Visual Studio Team Services Which nicely abbreviates to VSTS, an acronym people
Azure DevOps Debug your TFS/VSO 2015 builds The new build engine of Visual Studio Online and TFS 2015 is great. It's simple, easy to configure and doesn't require complex workflow designers. But when it's not doing exactly what you want it to do, it can be hard to figure out where
Azure DevOps Enable parallel execution of tests using the Visual Studio Test Runner 2015.1 Does your machine have multiple CPU's or cores? Are your tests truly independent and thread safe? In that case you'll be able to speed up your test runs considerably by enabling multi-threaded support to the Visual Studio Test Runner. This works in both Visual Studio as
Roslyn C# Interpolated Strings in older .NET frameworks When targeting a .NET 4.0 or 4.5 project it's not possible by default to use the Interpolated Strings and their FormattableString and IFormattable counterparts. By default*.*** But, this is only because these two types didn't ship with the older version of the .NET Framework.
Static Analysis C# 6 Interpolated Strings and Code Analysis (CA1305) C# 6 introduces a new concept, Interpolated Strings, sort of the compiler version of String.Format. It's a great way to ensure that the compiler checks that your variables actually exist and that you're passing the right number of 'm. And as with String.Format
Visual Studio 2015 Turn off Visual Basic 14 language features in Visual Studio 2015 If you're on a team that's doing solution round-tripping between Visual Studio 2013 and 2015, then it's usually a good idea to turn off the latest Language features. That way you don't break the 2013 users, yet are able to use all
Team Foundation Server NDepend 6 offers native integration into TFS 2013 When Patrick Smacchia contacted me a couple of weeks back to look at his new TFS support for NDepend I was very excited. We've integrated NDepend through commandline calls with numerous clients and though that works, it's not very easy to get trend analysis or act
Tools Time for a new laptop It's time for a new laptop, that means time to figure out what to re-install and what to let go of. I'm always curious to what others run on their machines to boost productivity, and really enjoyed the blog posts from, for example Scott Hanselman [http: