tfs2008

TFS: Building solutions with different flavors (Debug/Release)

Hi. I'm using TFS 2008 and I would like to build some solutions in debug mode and some in release. In my script, the section responsible to the 'build flavor' is global to the entire script and not for specific solutions... There must be some way of accomplishing that... Can someone help me out please? Thanks! ...

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...

My Windows Service crashes with "the key does not exist in the appSettings configuration section"

There is the same question listed under http://stackoverflow.com/questions/427007/the-key-userid-does-not-exist-in-the-appsettings-configuration-section, but unfortunately none of the answers worked in my case. All was working fine, I checked everything in and when I opened the solution again, it started crashing on the above. I cannot...

using TFS API how can I get the changeset ID for a file on a specific date?

I was hoping that I could pass a DateVersionSpec into VersionControlServer.DownloadFile() but it doesn't work. It tells me that the item doesn't exist at that version, even though the file existed in source on the date passed. Do I need to query the Item history just so I can figure out what version the file was at on the date in quest...

TFS Branch Parent

Is it possible in TFS 2008 to alter the parent of a branch? I've heard this will be available in 2010, but was wondering if there was an equivelent in 2008 (even if it's more long winded)? ...

what's the best way, using the TFS API, to add a label to a file?

I'd like to add a label to a set of files using the TFS API. My code looks like this: VersionControlLabel label = new VersionControlLabel(this.vcServer, this.label, this.vcServer.AuthenticatedUser, this.labelScopeDirectory, this.labelComment); List<LabelItemSpec> labelSpecs = new List<LabelItemSpec>(); ...

Do you need Visual Studio 2010 to manage a 2010 build agent?

we are considering TFS2010 but need to confirm some information as we're still using TFS2008 and vs2008. the question is whether we can still manage our builds using the 2008 client. please advise. thanks! ...

client is not able to connect when tfs on the domain

Hi I installed the tfs 2008. it work on the work group but it unable to connect the when the tfs server run on the domain. it shows the some error 1 - you r the not authorize person to, 2 - tfs server is offline. 3 - you have not the sufficient writ e to perform this operation. ...

MSBuild Include Remote File 2008?

TFS 2008, VS 2008. I have a tfsbuild.proj and tfsbuild.msp file in $/MyStuff/TeamBuildTypes/Dev folder. I have a targets file at $/MyStuff/TeamBuildTypes/IncludeFiles/Common/test.xml. test.xml contains an XML fragment that overrides the BeforeGet task. I tried to get the file into my tfsbuild.proj file like this: <Import Project="$/MyS...

TFS 2010, can I migrate source code only ?

Our old TFS 2008 installation is getting old, and we would like to migrate to TFS 2010. However, the structure of our team projects is not so well thought out, and there has been various experiments with process templates and editing of work items and so on. Therefore, I would like to migrate our source code to TFS 2010, with full hist...

TFS proxy server configuration

We have a TFS Server on a different domain and we are trying to configure a TFS proxy on a different domain which connects through the Internet. What user account has to be provided when configuring the TFS proxy? If this needs to be the TFS server then we can't because its on another domain. ...

Populating <validuser/> field in WorkItem

Hi I've created a new WorkItem named Project that contains a field named business owner which can be any domain user. The field was created using the WorkItem XML syntax using the tag. I have a problem that only TFS valid users (as the name suggests :)) show up the the combobox in the Visual Studio form. Is there any way for me to le...

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...

Using Team Explorer 2010 to connect to TFS 2008 Server

Is this something I shouldn't try? ...

How to prevent Project ASP.NET Configuration and Team Foundation Server from fighting

So, I am using visual studio 2005 (and team explorer 2005) with tfs 2008. I have installed both Visual Studio 2005 SP1 and VS80sp1-KB932544-X86-ENU.exe. I perform the following steps: Select Project->ASP.NET Configuration within Visual Studio 2005. Within Visual Studio 2005, attempt to perform either a check-in or a checkout. The f...

TFS Best Practices Project Hierarchy

I've recently installed and started using TFS. Mainly using for source repository initially and then will get into using the Work Item features. I'm moving from using Vault as repository and have some questions on best practices for setting up the project structure. My current structure from Vault is: Projects - CustomerName1 -- Appli...

what's a good way to group files that are from different folders?

Let's say I have a project that I'm working on that involves several different types of files: crystal reports, sql scripts, xml schemas and unit tests. What's a good way to group those files together so that they can be in one folder but come from different source control folders? Like the way that you can use "Link" files in Visual Stu...

Synchronization between TFS 2008 and TFS 2010

I am in a situation where the corporation has just recently upgraded to TFS 2008. They have no intention of upgrading to TFS 2010 at this time. As a development group, we've moved to Visual Studio 2010 this week. As with any large corporation, we cannot get our own environment created to install TFS 2010. Steps on too many toes, and isn'...

Unit Test output in MSBuild/TFS 2008

I have a build in TFS 2008 which includes the running of a UnitTest project. I have configured my build as such that in the drop folder after each build, I get a StyleCop.log, FxCop.log and would like to place the trx or output from the unit tests here also. I can see that my unit tests are running as part of the build, however current...

Web Projects gets auto check out on build.

I am using VS2008 with TFS 2008 and I have a web application project which gets auto check out on build.How can this be avoided? I dont want to change my Source Control changes which are auto check out on edit. When I check in the file it says file are idential, no changes...Any pointers ...