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

Team Foundation Server 2013 is finally RTM and it is time to explore some of its new functionalities and see what is changed between previous version. In the Build Area there are a lots of improvements especially because we now have Git Support and TFS presents a unified build experience between standard TFVC and Git. […]

Continue reading about News in TFS 2013 Build System