Validate code automatically during a Team Foundation Build 03 June 2014 Donovan-Brown Work (0) Problem: I need to run my Layer Diagram validation during my build. Solution: Edit your build definition and under Build process parameters, expand Advanced, and type the following in the MSBuild Arguments parameter: /p:ValidateArchitecture=true
Increase the reach of Code Lens and Code Map 30 May 2014 Donovan-Brown Work (0) Problem: My code lens does not see references to properties in my MVC views .cshtml files. Solution: Install the Razor Generator extension. Explanation: While watching a great deep dive of Code Map by Jean-Marc Prieur he mentioned the Razor Generator as a way to enable features in Cod... [More]
I can't register the Microsoft Deployment Agent 2013 11 May 2014 Donovan-Brown Work (0) Updated: With update 2 the deployer account no longer as to be an admin on the machine. The account simply needs to correct permissions to deploy the desired components. Problem: When I attempt to register my deployer I get a 401 unauthorized error. Solution: Make sure the ... [More]
Start and stop Hyper-V VMs from Release Management 06 May 2014 Donovan-Brown Work (0) While preparing my Demo for TechEd North America 2014 on Release Management I ran into a challenge that required me to add additional custom tools. I thought I would blog about one of the tools I decided to add. One of the goals of my Release Management demo was to deploy to Azure which is an amazi... [More]
Stop and deallocate an Azure VM from Release Management 30 April 2014 Donovan-Brown Work (0) Problem: While trying to start an Azure VM from Release Management I get the following error: "ERROR: Windows Azure PowerShell Cmdlets is not installed." Even though I followed all of the instructions here. Solution: There are actually two solutions. First is update the "PSModulePath" env... [More]
How to build a SQL Server 2012 Integration Service Project with TFS 2013 29 April 2014 Donovan-Brown Work (0) I simply downloaded the ReleaseDefaultTemplate11.1.xaml and followed my own directions from here and replaced .vdproj with .dtproj. TFS2013 Release Management Default Template ReleaseDefaultTemplate.11.2.xaml (107.45 kb)
Can't deploy Through Release Management Server over HTTP(S) 17 April 2014 Donovan-Brown Work (0) Problem: Configuring the “Drop Location Access” as “Through Release Management Server over HTTP(S)” with Release Management I get the following error:“Message: Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2... [More]
I can't use email as Username with MVC5 Microsoft.AspNet.Identity 09 March 2014 Donovan-Brown Work (0) Problem: I want to use email as the username with Microsoft.AspNet.Identity in MVC 5 application. But when I do I get the following error: User name ... is invalid, can only contain letters or digits. Solution: In the AccountController constructor that takes a userManager as a parameter add the ... [More]
Find by Status is not working 13 February 2014 Donovan-Brown Work (0) Problem: "Find by Status" of the TFS Power Tools always returns zero results even though people have files checked out. Solution: Make sure the developers workspaces are Server and not Local. Explanation: Only Server workspace communicate the status of check outs back to the Ser... [More]
Running Microsoft Test Manager Suite with Release Management 25 January 2014 Donovan-Brown Work (0) Goal I want to run a Microsoft Test Manager Suite after my bits are deployed by Microsoft Release Management (InRelease). Solution: There appears to be a bug in the current "MTM Automated Tests Manager" tool that will fail if your build definition name contains spaces. So I took this opportu... [More]