TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Entries Tagged as 'Team Foundation Build (TF Build)'

How to compile projects that reference Microsoft.Office.Interop assemblies with a build server

February 13th, 2014 · No Comments · Team Foundation Build (TF Build)

The Problem A project that references Office interop assemblies (Microsoft.Office.Interop) fails to compile on TF Build (or VSO’s Elastic Build Service). The error message might be similar to this one: The type or namespace name ‘Office’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?) The Solution (based on this forum […]

[Read more →]

Tags:

TFS Build fails with "CA0053 Error running code analysis" with its “Unable to load rule assembly”.

June 19th, 2013 · No Comments · Team Foundation Build (TF Build), Visual Studio Online

You can fix this, by editing the project file. Remove the following two tags from the .csproj file (they should occur at least twice: once per configuration): <CodeAnalysisRuleDirectories>…</CodeAnalysisRuleDirectories> <CodeAnalysisRuleSetDirectories>…</CodeAnalysisRuleSetDirectories> Get more details here. –Neno

[Read more →]

Tags:

TFS Build cannot resolve dependency to assembly ‘Microsoft.Windows.Design.Extensibility’

February 18th, 2012 · No Comments · Team Foundation Build (TF Build)

The Problem You are using DevExpress components. Compilation fails with the message: ‘Cannot resolve dependency to assembly ‘Microsoft.Windows.Design.Extensibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ The Solution Check your references and remove any reference to DevExpress.*.Design.dll’s. (Thanks to "Kookiz" who solved this.)

[Read more →]

Tags:

Installing TFS Build 2010 on a non-domain-joined machine

September 5th, 2011 · No Comments · Team Foundation Build (TF Build), TFS 2010

Scenario You want to install and run TFS Build Controller and Agent on a separate network/domain than your Team Foundation Server 2010. Disclaimer: According to Ruiz from the MSDN Subscriber Support in Forum this is not officially supported. How to solve: Install Team Foundation Build 2010 from TFS media.   Apply latest updates (e.g. Service […]

[Read more →]

Tags:

Creating Fake builds in TFS Build 2010 using the command line

April 26th, 2011 · No Comments · Team Foundation Build (TF Build), TFS 2010, Tools and Utilities

In TFS it’s possible to create “faked” builds, without actually running them. You can read about it in this blog post by Jason Prickett. Main scenarios are: Using a different build tool than TFS Build (by creating faked builds will let you use some of the great TFS features). Creating sample data to show off […]

[Read more →]

Tags:

Could not write lines to file FileListAbsolute.txt. Access to the path is denied.

March 16th, 2011 · 4 Comments · Team Foundation Build (TF Build), Team Foundation Version Control

You receive the following error message: C:\WINDOWS\Microsoft.NET\Framework\v4.0\Microsoft.Common.targets(3246,9): error MSB3491: Could not write lines to file "obj\Release\abc.Common.vbproj.FileListAbsolute.txt". Access to the path ‘c:\TFS Builds\Sources\abc\obj\Release\abc.Common.vbproj.FileListAbsolute.txt’ is denied. Possible Cause: Have you checked in the "obj" and "bin" folders? To resolve this issue: Delete the "obj" and "bin" folder in source control. (usually those are not checked in) Delete […]

[Read more →]

Tags:

Building Silverlight 4 apps with Team Build 2010

March 7th, 2011 · No Comments · Team Foundation Build (TF Build)

Error messages: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. or C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.Common.targets (104): The Silverlight 4 SDK is not installed. Required Steps: Install Silverlight 4 SDK on Build Agents. In the Build Definition, change the […]

[Read more →]

Tags:

TFS Build: "Microsoft.WebApplication.targets" was not found.

August 9th, 2010 · 1 Comment · Team Foundation Build (TF Build), Troubleshooting TFS

You receive the following error message as build result: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Solution Install Visual Studio on the build server (make sure to check the "Visual Web Developer" component). Note: Although it […]

[Read more →]

Tags:

UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop.

August 9th, 2010 · No Comments · 14323, Team Foundation Build (TF Build), Troubleshooting TFS, VS Test Tools

You receive the following message as part of a build process that contains UI automation: UITestException: Automation engine is unable to playback the test because it is not able to interact with the desktop.  This could happen if the computer running the test is locked or it’s remote session window is minimized." Solution If you […]

[Read more →]

Tags:

Unable to publish test results from Visual Studio to TFS

May 30th, 2009 · No Comments · Issues and Hotfixes, Team Foundation Build (TF Build), Team Foundation Server, TFS Administration, VS Test Tools

Error message similar to: username@servername (mailto:username@servername) 2008-10-13 2:21:50          0.28 MB            10/13/2008 3:19:14 PM    Failed    Access to the path ‘\\DropFolder\Buildname_20080723.3\TestResults\fd8883e0-2153-44c6-8671-6d6db460c4a8\uesrname 2008-10-13 _02_21.trx’ is denied. Cause: Permission issue A Workaround can be found in the KB article 958726.

[Read more →]

Tags: