Team Foundation Server - Build Automation - Visual Studio Team System
Recent update: 2008-3-21

TF42056: The build service could not connect .... TF30063: You are not authorized....

1219 byte By cbaugh at 2008-3-7
This message is displayed on a client box (running VS 2005 architect) when we attempt to execute a build type. The build type is referenceing the build service on a different server. TFS is running great and check in / check out, etc works fine. However, I do not have a domain in place since ...

TF53010 - The build request is not from the configured Team Foundation Server.

1738 byte By AaronAnderson at 2008-3-6
I'm getting this whenever I try to execute a Team Build on my build server. This started happening even on fresh generic Team Builds. TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site ...

how to build a solution which mixed vb6 and vs2005

553 byte By wangyazheng at 2008-3-5
hi, Our project has mixed VB6 and VS2003. currently, we want to upgrade the VS2003 project to VS2005 and use the TFS build to do the daily building. The process is : <Build Project 1 (vs2005) > > export tlb file > Build VB6 program (use the above tlb file) --> tlbimp VB6 ...

Determining cross-project dependencies

1510 byte By Surly at 2008-3-3
Hi,We have share code libraries that are referenced across team projects but stored in the source tree under the project that originated them.For example, say we have the following source tree:$/ $/TeamProject1 $/TeamProject1/Solution1 $/TeamProject1/Solution1/ObjectModelLibrary1 ...

Property for CoreDropBuild target

693 byte By MarcSCN at 2008-3-1
How can I find the property for the path that <target> CoreDropBuild uses to copy my binaries to? I want to write this property to a file so I my older automation can read it in and now the path to where our binaries are being copied to. I tried to look for ...

How to build http://webproject.scottgu.com

636 byte By Andreas? at 2008-2-28
I'm using the "Visual Studio 2005 Web Application" project model ( http://webproject.scottgu.com/) When building my project Team Build is only producing the compiled codebehind .dll. Content files ( images , .aspx ... ) is not getting copied to the drop folder. Has anyone succeded in ...

Error: The "CreateWorkspaceTask" task failed unexpectedly

4921 byte By lguger at 2008-2-27
I am getting an error when trying to run a build in TFS. The specific error is a casting error from object of type 'Microsoft.TeamFoundation.Build.Tasks.SerializedWorkspace' to type 'Microsoft.TeamFoundation.Build.Tasks.SerializedWorkspace'.The builds used to work a while back and I don't ...

'Oracle.DataAccess' directly or indirectly referenced by test assembly

866 byte By heysad at 2008-2-26
Could any help me on this one? Getting the erros in BuildLog.txt when running the build on a remote box.Thx - Andy C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : Warning: Test Run deployment issue: The assembly or module ...

"Missing file" link error with TFS build

1207 byte By GDigrego at 2008-2-25
Hi, We are trying to build automatically one VS 2005 solution containing various VC++ project (one exe and several dlls). This solution and its projects make use of custom configuration (this help us to define various preprocessor #defines used in our C++ code).When building this solution with ...

Getting a project from another Team Project (RC)

10031 byte By KevinLawrence at 2008-2-24
Hi allI'm so close to getting this working, but something very, very strange is happening.I have my application, a small component, and we have a framework - all in seperate Team Projects, I followed a blog http://blogs.msdn.com/manishagarwal/archive/2005/12/22/506635.aspx so that I can build ...

Three problems with Team Build: read-only paths, missing include paths and huge checkouts

1759 byte By DanielHilgarth at 2008-2-23
Hi, I hope you can help me with this problem: I set up a Team Build-Server. Basically, it works, my small test-project is building fine. But with our real C++-application there are some problems: - Some of our projects are generating libs as output-files and have a common folder set as the ...

Cancelling a build in progress

387 byte By fredx21 at 2008-2-22
Our dedicated team build server had suffer from a lost of power while a build was in progress. Then, after the server came back up, I noticed that the build was still in progress, not cancelled, and hanging at the "Compiling Sources" step. However, I can successfully perform other ...

TfsBuild on buildserver fails after upgrade to RTM

706 byte By reneschrieken at 2008-2-22
Hi All, We upgraded the TFS bits to RTM from B3R last night. Everything seems to work except for the daily build continuous integration. If I try to run TFSBuild start <server> <project> <builtype> it gives me an: Access Denied: You need the 'Update Build' permission to ...

Registering com during build

274 byte By KevinLawrence at 2008-2-21
Hi all I'm trying to register a COM dll during the build process, my Regsvr32 is looking ok but it returns an error code of 3. However when I try and register manually (whilst remotely working on the server) it works absolutely fine. Any ideas? Thanks Kev

Publishing a web-site after build

230 byte By KevinLawrence at 2008-2-20
Hi all I have a web project and when building the solution using Team Build I want the web-site to be published and then copied into the Binaries folder together with the rest. Any way of achieving this? Thanks Kev

Error when retrieving run from TFS ?

856 byte By Jarodtweiss at 2008-2-20
Hello all ! I was previously working with TFS Beta 3 Refresh and Team Suite Trial Edition. I have some Team Builds that are running every night. I have just upgraded (indeed, I have uninstalled everything - not the Team Explorer - and install again) to Team Edition for Software Developers ...

Making Targets conditional to Debug build

657 byte By Surly at 2008-2-19
Hi,I am attempt to execute some targets only on my Debug build, but I want to build both Debug and Release.My attempt was to use target's Condition attribute with %(ConfigurationToBuild.FlavorToBuild) == 'Debug' eval'd. The result was the following error:TFSBuild.proj(188,31): error ...

What property indicates a build is complete?

1986 byte By Surly at 2008-2-18
Hi,I am using Continuous Integration web service from MSDN article - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/ConIntTmFndBld.aspIt works great as long as check-ins on same project don't happen while a build is running. In this case, a second build gets ...

Problem with team build service

457 byte By Zakssj at 2008-2-17
I cant buil my solutions on a remote machine. Service is intalled correctly and response on my build requets. the references on my solution are mapped in a logic path (Z:\) but the service can not access it. this path have all possible access permission for the user with run service(TFSSETUP). ...

property evaluation order (beta 3)

2327 byte By JoeyBradshaw at 2008-2-16
Why is the following not working? I tried moving the Import of the Microsoft.TeamFoundation.Build.targets from the top of the build file to the bottom, but it had no affect. Our environment has separate TFS and Build servers. I'm using TFSBuild.exe to kick off the build through a batch file. ...

Builds fail after upgrade to RTM

1374 byte By MikeL. at 2008-2-15
We were running on Beta 3 Refresh using the build services for a couple of months now with no problems doing builds. Today we upgraded to RTM and now we get the following errors during the builds. Not sure where to go on this one. Any ideas would be much appreciated. Error: Build started ...

Infopath Integration

801 byte By martinquirion at 2008-2-15
Hi, I have a bunch of Infopath projects that I created using VS2k5 and the Infopath 2k3 Toolkit for Visual Studio 2k5. Now i want to automate the builds of these projects using our TFS Builds server. When I launch the build process, I get the following error : The project file ...

Can not run tests on build server

465 byte By compilator at 2008-2-15
I get this error on the build server: MSBUILD : warning : Failed to instantiate type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestRunConfig, Microsoft.VisualStudio.QualityTools.LoadTest, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a': Could not load file or assembly ...

Build Task Help

10311 byte By Vetric at 2008-2-15
I'm trying to execute a custom task from msbuild to branch a particular label of code to a different folder (development to staging) in source control, check that in and then perform the build. The dll I created to perform the branch works fine when called from my local machine but not when ...

Where I can find information about errors TF.....

175 byte By ReneL at 2008-2-15
Hi, Sometimes I received error number TF...... (exemple TF42052). Where I can find a document which describe these kind of error and the solution to each one ?

WorkspaceMapping reference and Map info

160 byte By lpasquali at 2008-2-14
Where can I found the WorksapceMapping references? I'd like to acces to mapped folders in the TFSBuild.proj. Thanks in advance. Laurent

Building MSI in Team Build... (once more)

2442 byte By compilator at 2008-2-14
Heya. I've just installed VS2005 on our TFS in order to build an msi when I do a team build. I added the following to our build script: <Target Name="AfterCompile"> <Exec Command="&quot;$(VSINSTALLDIR)\Common7\IDE\devenv&quot; ...

best practice regarding version numbers, release names, etc

3791 byte By WillStott at 2008-2-13
Has anyone any thoughts about best practice regarding the naming of assembly versions, build numbers, changesets, file versions and so forth?Background (let me know if this is wrong).a. When I check-in a changeset it is given a unique number and all the files it contains then have their tip ...

How to do strong name signing and digital signature signing in the Team Build environment

3339 byte By dto at 2008-2-13
We are using Team System Beta3 Refresh at the moment... looking to move to RTM in the near future... If there are some 'real world' examples on how to implement strongname and digital certificate signing properly, so that it is supported in a Development (building in the VS IDE) AND Build ...

Managing Shared Components between VSTS Projects

243 byte By BenECM at 2008-2-12
How would one share component development between two VSTS Project teams? Is this possible? For example a team may be responsible for common UI components shared between between other projects. This development may be in tamdem.

Config to run all unit tests without test list

2330 byte By compilator at 2008-2-11
The project I'm working on have a lot of unit tests. As of now, I have to create a test lists of unit tests to be run when we compile our solution on the server. I'd like to get rid of this test list and simply say "run all tests" since we are only using unit tests. It would be much ...

Team Build and ClickOnce

216 byte By BBuff at 2008-2-10
How can I deploy an app via ClickOnce using Team Build? I read somewhere about replacing SolutionToBuild with SolutionToPublish, but that doesn't seem to do anything special. I'm using the RC. Thanks

Build failed

1162 byte By SergeyPikhulya at 2008-2-10
My solution has one Windows Forms project, all files are checked in. After starting build it failed, below is content of the BuildLog.txt: Build started 4/12/2006 5:21:06 PM.__Project "C:\Builds\TestBuildDirectory\Test\Main\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): ...

Running diff. test lists under diff. testconfigs?

3717 byte By DrewMarsh at 2008-2-8
Doesn't look to me like there's any built in way to do this based on the TeamFoundation .targets file implementation, but I thought I'd check to make sure I wasn't missing something. The reason for this is that I have a set of tests that can be run inside of the regular test host and then a ...

Forcing a testrunconfig for Team Build?

326 byte By DrewMarsh at 2008-2-8
I've seen mention of a <Runconfiguration> property thrown around and also an approach of <TestingArgs>/runconfiguration:blahblah</TestingArgs>. I've tried both and neither one is working out for me, so it's always pulling the default one from my VSMDI. Any suggestions? ...

How do I remove old team build statuses / information?

622 byte By Scott_Piegdon at 2008-2-7
When I first setup the solution, my team copied in the code that we had been working on, I created the team build, and all is well... however - Now, when I view the quality indicators report, my day-to-day code churn is flat-lined at the bottom of the report, because my first build had 733,171 ...

Code Coverage Results

589 byte By Surly at 2008-2-7
Hello,I'm trying to get code coverage results from the unit tests executed in my team build. My build report states no coverage results available, and I can't figure out how to enable coverage instrumentation.Locally, I do this through my .testrunconfig file however in looking at the build ...

Classes (API) for parsing Visual Studio Solution File (.sln)?

575 byte By Sondre-MSFTRegionalDirector at 2008-2-7
Do there exist a class within Team System or MSBuild that allows typed access and parsing of Visual Studio Solution Files (.sln)? In case not, I have to manually parse through the text file (why is it still not based on XML?). My requirements is to get path to included project files within the ...

BUG: Serialization of Project type does not include ProjectConfigurationToBuild and ProjectSolut

5731 byte By Sondre at 2008-2-7
I'm working on a system for build automation (CI) and I'm having some problems with the Project type and that it doesn't include ProjectConfigurationToBuild and ProjectSolutionToBuild values when being serialized. Here are the declarations from the type definition ...

SolutionRoot and other Team Build properties

229 byte By Surly at 2008-2-6
Is there a reference that defines Team Build properties exposed in msbuild? I don't see that any of the online or shipped docs call these out, and I see questions on MSBuild list around these too. Pointers appreciated.

Limit scope of GET?

395 byte By ChrisKinsman at 2008-2-6
I trying to convert a very large project to Team Foundation build. I am wondering if there is some way to limit the scope of the GET that is done to get the source. Right now it is starting at the top of our tree and I believe eventually timing out on getting the source and then failing the ...

Team Build without SolutionToBuild?

458 byte By bpearson at 2008-2-5
I'm wanting to have Team Build execute a MSBuild project that just executes an external program several times with different parameters. There's nothing to checkout of source control although the external program adds/updates files in source control (scripts from our development Sql Server). ...

Target against a specific .Net version?

599 byte By Peds at 2008-2-5
Hi, I've just got a nightly build automation process set up using TFSBuild.exe and supplying it with the appropriate server, project, and BuildType paramaters. Is there any way to specify that I want the particular build to be under .net version 1.1 or 2.0? I am assuming that as I have ...

Using AssemblyInfo task in Team Build

665 byte By simonburgess at 2008-2-4
Hi I've been using the AssemblyInfo task from SDC together with Team Build to update all dll's built by my TFSBuild.proj file. I've also changed the source code for this task slightly to output another property from the task which I want to use to give a number to my installers (very similar ...

Unable to call a target from overidden CoreCompile

5096 byte By fredx21 at 2008-2-4
Hi, I would like to perform a specific target just before each solution is compiled. Unfortunatly, team build performs a build including all solution in an atomic MSBuild call. To correct this behavior, I tought I could overide the default CoreCompile with my own version, in order to call a ...

Team Build taking 10-15 minutes to generate list of changesets?

682 byte By DrewMarsh at 2008-2-4
The "Generating list of changesets" step is taking anywhere from 10-15 minutes for our build. This seems odd considering there's only 6 actual changesets associated with the build. Granted there are something like 100 files associated with all those changesets, but is that really the problem? ...

TFSBuild.proj ItemGroup's, AdditionalReferencePath's and such

1359 byte By Surly at 2008-2-4
Hi,I am modifying my TFSBuild.proj to use osql to update my stored procedures. I've done this with stand-alone msbuild with no problem, but am trying to figure out how to integrate into a team build and decided to use a AfterCompile target as so:<ItemGroup> <CodeFiles ...

Delete or Edit a build type

246 byte By bb5178 at 2008-2-3
Hi, I am new to this thread, not sure if this has been asked before. <img src="/library/msdn/images/emoticons/smile_embaressed.gif"> Does anyone know how you can delete or edit an exisitng build type!? Thanks -Bob

New Build Type\Build Options\Run Test problem

319 byte By Surly at 2008-2-3
I'm creating a Build Type, adding Build Options, and selecting "Run Test".My .vsmdi file appears when I click the checkbox but no tests appear in the list. And my "Next" and "Finish" buttons are disabled.These are unit tests that run just fine in VS on my dev box. ...

Why is the workspace deleted and recreated every time?

363 byte By D.OmarVillarreal at 2008-2-2
The only reason I can think of is 'In case WorkspaceMapping.xml changed'. Is there another reason why it is deleted? Thanks in advance. -OmarV http://teamsystemrocks.com/blogs/omarv ...

Visual Studio Team System

Site Classified