tfsbuild

Team Build to build solution in different TFS Projects

We are using TFS2008 and TeamBuid to build our product. I have SolutionAA in TeamProjectAA that uses a file reference to a compiled library (SolutionBB) that is checked in to TeamProjectAA. Now this works fine. Now the source code to the library is checked in TeamProjectBB. The problem arises when I need to due a full build using Tea...

How could the stack trace for my unit test not match the actual source?

In a C# class library, and set of tests. Everything was going well until I added a new set of tests - they run correctly on my machine, but fail on the TFS Build server. The stack trace in the build log makes no sense - the constructor of one class appears to be mapped to one of it's methods. If my class looks a little like this: 1. p...

Find revision when particular test started failing

We are in a situation when developers broken the TDD process and stopped running tests few weeks ago, and now we have about 25 failing tests in solution. Also i we do not have build archives for failed builds, because a nightly build definition was not set up to keep failed bilds in TFS What would be your approach to this problem? Is ...

Unable to get the Latest files from TFS?

First i tried to get the latest files from the TFS , but shows a dialog box stating that i have all the latest files. Then i tried to getting the latest through Get Specific Version, still i was unable to get the latest files. I even tried deleting the workspace. ...

Team Foundation Build or TeamCity?

Hello, We are a mostly MS shop at work doing .NET LOB development. We also use MS Dynamics for our CRM app... all the devs are currently using VS/SQL Server 2008. We also use VSS, but everyone hates it at work and that is quickly on its way out. We are begining our initiative for TDD implementation across the team (~dozen ppl). I've g...

TFS 2010 RC TeamBuild - Unable to view Test Run Results

Hi, Using Visual Studio & TFS 2010 RC TeamBuild, I get a message "Unable to view Test Run Results" when I click to View Test Results of my build in Team Explorer. The trx file exists on the server and Ive tried giving full permissions to the containing folder. The Build Log file says the tests were run (some failed) and published succ...

TFS Build drop location not accessible outside the network

I have a few builds running on TFS Build 2010 RC. The build definition requires the drop location to be a UNC path or network share so I am using something like \\tfs\builds. I've exposed port 8080 so while I'm not on the network, I can still access it, primarily for source control but I also check the completed builds. However, the buil...

Add Solution to Existing Project File in Team Foundation Build

I’ve created a build project using Team Foundation Build in VS2008. I created it using just 1 of the many solutions that I need to build. Now that I got it to build with 1 solution, I want to add more solutions to the project file. How do I add more solutions? John. ...

Is it possible to update tfs metics like code churn, code coverage, last to break the build with Team City?

We've been using Team City as our build deployment server. We'd like to now update the metrics in tfs like "Code Churn", "Code Coverage". Is it possible to do this with TeamCity or do we just need to start using the tfs build server? ...

Team Foundation Build under Mono

Hello, I'm currently looking at which build server we should run up for a multi-platform development (targeting .NET on Windows and Mono on Windows/SUSE). We use TFS (2010 RC) for all other aspects of the ALM, and we need to get continuous integration in place. I'm drawn to TFS because of its integration with the rest of the ALM, and ...

TFSBuildService : Access Denied & Program too big to fit in memory

I'm trying to install Team Build (2008) on a different Build Server (BS) to the Application Tier (AT). BS is a 32-bit Windows 2008 server (as is the AT). They are on a corporate domain. The EXE in question is C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies> TFSBuildService.exe The service on BS cannot start...

TFSBuild/MSBuild and Project Reference vs File Reference

We Have a large VS solution using project references which is build by TFS Build like so: Solution - Project 1 - Project 2 - Project ... - Project N Because the solution is too large we have several smaller solutions which we use day to day: SubSolution - Project 1 - Project 19 The problem is that developers working on SubSolution ...

TFS 2010 RC: How to fail a build for low code coverage?

How can I cause a build to fail when code coverage is below a certain threshold? ...

Building java project with TFS

A very small portion of our codebase is some legacy Java code. I'm trying to add a new build that would invoke ant to build this project. The first problem is that TFS doesn't allow you to create a build that doesn't build a .Net solution. I got around this by copying a previous build file and adding an EndToEndIteration task which is...

How can I add a VS 2010 .Net 4.0 build agent to TFS 2008

My company has two development teams using TFS 2008. My team would like to migrate our .Net 3.5 app to the .Net 4.0 framework, but the company is not ready to upgrade TFS to TFS 2010. Can we still use TFS 2008's team build system but with a Visual Studio 2010 solution/project structure that targets the .Net 4.0 framework? I am thinkin...

How to integrate NUnit tests into a TFS 2010 build

What is the best way to integrate nunit tests into TFS 2010? Is it via generic tests or is there a better approach to running them? Ideally I'd like to have the granularity of one generic test per test assembly and have a way to surface the results in the TFS build report. ...

Starting Team Foundation Build

I recently switched to TFS 2010 and I want to start using Team Foundation Build to automate the build process for my application. I need some good resources (blogs, articles, books) on this topic. ...

TFS no release folder in build folder

I have a tfs build that works fine on the client, but when executed on the server, no actual binaries get created. When I go to the folder: \[MyServer]\builds[BuildName], I see BuildLog.txt ErrorsWarningsLog.txt Release.txt I expect to see a big \Release folder full of my dlls, but I get nothing. The error log reports no problems u...

TFS Build errors TF224003, TF215085, TF215076

Hi, I am using TFS2008 and VS2008. I run nightly builds for about 20 applications using one build agent and the builds are scheduled for either 1am or 2am. Most of the build succeed, however 6 of them fail regularly with similar errors. The errors are either the first two below, or the third one by itself: TF215085: An error occurr...

Not all TFS Build type files are getting copied

Because I have several builds sharing some assemblies containing common build tasks, I have one TFSBuild.proj for all builds and import different targets depending on the build, like the following: <Project DefaultTargets="DesktopBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <Import Project="B...