One of the greatest advantage in using Git over a centralized Version Control System is branching system. It is quite common for developers to start branching whenever they need to add a new feature, work on that branch and finally merge back to mainline when the feature is finished. One of the most famous workflow […]

Continue reading about Monitor if your branch will generate merge conflicts with TFS Build

Using DPAPI to encrypt password in builds suffers from a serious drawback, the password can be decrypted only by code that runs on the very same computer used to encrypt the password. You can overcome this limitation using roaming profiles, but it is not a option in many scenario. Another technique to enable multiple build […]

Continue reading about Encrypt your password in TFS Build using Certificates

If you have a TFS Builds that fails with an error like this one, even if you have installed Visual Studio 2013 on your build server. The imported project “C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets” was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk The reason could […]

Continue reading about Tfs build fails with Database Projects

I’ve done some blog post on customizing TFS Build with PowerShell scripts and the very first question I got from this approach is How can I store some PowerShell modules “somewhere” and have them available for all Build Agents? This is a real good question, but sadly enough it has no out-of-the-box answer. Luckily enough […]

Continue reading about Automatically Deploy PowerShell modules to Build Agents in TFS

In a previous article I explained how to deploy an ASP.NET Web Site from a TFS Build thanks to MSDeploy engine. One of the great complain you can have with this solution is the need to specify UserName and password in build configuration and the need to use the AllowUntrustedCertificate=true. The problem of the certificate […]

Continue reading about Deploy from a Team Foundation Server build to Web Site without specifying password in the build