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