teambuild

Running MSTest Unit tests As part of TeamBuild

I've been looking for a definitive web resource to help with this, but no luck so far. So :how do I run unit tests as part of a TFS build? I have a number of questions for this, so to make it easier I've numbered them in this post. Sorry for this post's length. Visual Studio Team System 2008 is installed on my build machine. I have a ...

TFS 2010 creating .Net 4.0 XmlSerializers DLL for .Net 3.5 Application

We have a ASP.Net web application running in Visual Studio 2010 that is targeting .Net 3.5. It's being built by TFS 2010. This web application has a couple web references, so the build creates a related XmlSerializers DLL. This DLL, however, is a .Net 4.0 assembly. When I run this web application from the build, I get the error: C...

Adding parameter to "Queue New Build" Dialog

I built a custom build processes template based on the DefaultTemplate.xaml and added a few parameters. They show up fine on the Build definition window but I can not find a way to have them be displayed on the parameters tab of the Queue New Build Dialog. I am hoping that this is possible, I would rather not need to define a separate b...

How do I run two different types of tests within the same build script in team build?

Hello All, I have the following sequence of things to do in my team build script after the sources are compiled: -) Sources compiled -) Run BVT tests (all tests in dlls *.bvt.dll) -) Set build quality to BVTs Passed (or Rejected, if tests fail) -) Run Unit tests (all tests in dlls *.unittests.dll) -) Set build quality to Unit Tests Pas...

Trigger build when another finished succesfully in TFS 2008

This is a feature I'm used to from TeamCity - I could specify that a certain build configuration will be triggered by the success of another build configuration. I could even pass the results of one build to another - but perhaps this is asking too much. I'm looking for a similar functionality in TFS2008, is there a way to set a trigge...

Where is TFS 2010 Team Build Revision $(Rev:.r) Stored?

TFS 2010 exposes a "Build Number Format" property, which contains $(BuildNumberDefinitionName) and $(Rev:.r) variables (among other things). Two and a half parts to my question: What are all the available variables that can be used here? Where does the value for $(Rev:.r) come from (where is it stored)? a. Can it be reset or changed?...

Team Build: Publish locally using MSDeploy

I'm just getting started with the team build functionality and I'm finding the sheer amount of things required to do something pretty simple a bit overwhelming. My setup at the moment is a solution with a web app, an assembly app and a test app. The web app has a PublishProfile set up which publishes via the filesystem. I have a TFS bui...