tfs2008

VSTS work item transition on Build

I'm currently using Team Foundation Server 2008 as a source control and build engine. When I checkin some changes and associate the change with a work item the work item flow I've defined changed the status from active to ready for test. Unfortunately this is not accurate as it's not actually ready for test until a build is completed. Is...

TFS - What security would allow me to 'Add files' in one project and not the other?

In TFS Source Control Explorer, in some projects the "New Folder" and "Add Files" icons are visibles, and for other projects they are not. I'm a contributor in both, and I can check in solutions in both, and not an admin for either. What could possibly be making the icons go "dim". Is it security? Or some other combination of rules...

TFS 2008 Build Script

In TFS 2008, I am trying to modify a build script (TFSBuild.proj). I get the following warning: The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'TeamProject' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. Which is correct, The element Proper...

Target not being executed when imported to the main *.proj file

I use the TFS 2008 build facilities. I have a large MSBuild project (TFSBuild.proj) and I wanted to split it into a few files because it is becoming hard to maintain. I found a strange behavior; when I extracted one of the targets (BeforeInitializeWorkspace) to a separate file and then imported it into the main *.proj file, it was not e...

Building a VS2010 solution from TFS2008

I have a TFS 2008 Build Agent that has been used to build .Net 3.5 applications. I now have a .Net 4.0 app which i want to compile on the same build agent. I have ensured that MSBuild 4.0 is installed on there and all the required componentry is also installed, but i am getting the following MSB4062 error when building: [Any CPU/Release...

Why does TFS 2008 build fail with "The underlying connection was closed" message?

We are having extreme problems with our TFS 2008 server. We run our build on a separate machine but just recently it has started to fail with ever increasing frequency - about 4 out of 5 builds fail. They fail at various points during the build process and give a variety of messages, all of which terminate with the line "The underlying c...

Cannot start TFS Build service: Error 1227

When I try to start the TFS 2008 Build service on the port 9191 I get the following error message: Windows could not start the Visual Studio Team Foundation Build service on Local Computer. Error 1227: The network transport endpoint already has an address associated with it. If I use another port it works, but I need i...

Visual Studio 2008 adding incorrect working folders to TFS Workspace

I am using Visual Studio 2008 with TFS. I have one workspace set up with one working folder. I map the root source control folder $/ to C:\TFS and get all code. When working on any project under the root, Visual Studio will randomly add incorrectly mapped working folders to my workspace. For example, it might map $/WebProject/ to C:\T...

Problems with Continuous Integration (CI) in TFS during Build Automation?

Hi all, I am using TFS 2008 and Visual Studio and my boss has instructed me to implement Build Automation for Development and Release builds for a web Project. I am a total newbie in Build Automation. There are multiple developers working on the project on different machines using Visual Studio 2008 team System. Source is already be...

TFS 2008: How do I sync build names with version numbers?

Currently my TFS build agent using the current date as the build name. For example, "Intranet_20100707.1" would be today's first build. Currently I use "1.2.*" as my assembly version number where 1 and 2 are manually incremented. How can I sync the build names with my application's version number? ...

How to enable Automatic obfuscation in Team Build using dotfuscator and TFS 2008?

Hi all, I am trying to accomplish Build Automation (Continuous Integration) using TFS 2008 and VS 2008. We have a Web based (.Net) product which contains a number of small and large projects (Some C# and Some Vb.Net based). A source control server is already in place that is being used for version Management(later referred as Data Ti...

TFS 2008 to TFS 2010 upgrade to exclude sharepoint

Hi, I'm currently planning to upgrade our TFS 2008 server to TFS 2010 with the condition below: 1. upgrade everything except for the sharepoint 2. upgrade everything including sharepoint but sharepoint will be enabled only at later stage. will this stop us from using TFS for our development? Thanks, Chen ...

Team build of Web Projects generates App_web_xxxx.dll files and TFSBuild.Proj Script

Hi all, I have a web application that has some non-web projects as well. When using Web Deployment, a single assembly is generated for all the aspx.vb files. When using Team Build (TS 2008), a lot number App_Web_xxx.dll file(s) are generated instead of a single assembly. How can i solve this problem and change the TFSBuild.proj file ...

Need TSBuild.proj Script for Separate x86 and x64 builds using Team Build in TFS 2008?

Hi all, I want to build x86 and x64 builds using a single script in TFS 2008. Later on i need to move them to different output dirs and zip them. Here is my script. I need a bit of guidance of the build script. Please help. <Target Name="BeforeBuild"> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> ...

When building a web application project, TFS 2008 builds two separate projects in _PublishedFolder. Why?

I am trying to perform build automation on one of my web application projects built using VS 2008. The _PublishedWebSites contains two folders: Web and Deploy. I want TFS 2008 to generate only the deploy folder and not the web folder. Here is my TFSBuild.proj file: <Project ToolsVersion="3.5" DefaultTargets="Compile" xmlns="http://sc...

Customizing the TFS 2008 build sequence to avoid compilation and deploy SSRS

I'm trying to create a CI process for SQL Server Reporting Services. I am fairly new to TFS but quite experienced with MSBuild. In the past I've used a combination of MSBuild with Team City so the whole build process is more or less custom. Here lies the start of my problems, as the solution I am deploying only contains Report Server p...

TFS2008 to TFS2010 migration upgrade

All, I'm currently in the process of attempting to create a repeatable process for the upgrade of a TFS 2008 installation to new hardware in what Microsoft call a migration upgrade, but am experiencing issues when building the VS 2008 projects on the new hardware. Our TFS 2008 installation consists of two machines; one which houses the...

Can TFS2010 be set up locally in order to use Test Manager but still tie into work items, bugs, & source code residing in a remote TFS2008 instance?

We currently use TFS2008 for our source control, bug tracking, and tasks. The TFS2008 server is located in a remote data center. Locally, we have Visual Studio 2010 installed on the developer's machines. Is there a way to install TFS2010 so that we can run Test Manager but still tie into the work items and source code on the remote 2008...

NUnit in TFS 2008 and .NET 4.0

Is there a way to set /framework:net-4.0 in nunit-console.exe.config like in GUI? Or any other way to run NUnit tests with MSBuild Community Tasks? ...

How do you find all the files added to a visual studio project and checked in to TFS from a point in time?

How do you get a list of all new files added to a visual studio project and checked in to TFS? I've tried using TFS sidekicks and view history, but they only show changesets which you have to open up to see the details. I'm simply after a list of new files in a particular branch. Thanks ...