tfs

Files marked as readonly during build

It seems that when TFS does a build, when it creates the build directory and pulls the files down from source, it is marking all the source files as read only. This is causing a problem with a BizTalk solution that we have, it looks like at build time biztalk generates/edits a cs class for mapping files, and this is the same type of file...

How to keep the subfolder in DropLocation constant in TFS build

I have a build definition setup with a drop location. The binaries are moved into this location, but under a new directory (named as build number) every time. Is there a way to have the same location over written everytime. we have some batch files that copy the binaries out to multiple servers that will be accessed by the end users. We ...

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

TFS 2010 Get operation fails periodically on large files (> 1MB)

Occasionally I get an error from my builds with the following error message: [Large File Name]: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. One or more errors occurred while performing a Get operation. Everytime this happens, the file is always over 1MB in s...

How do I get partially succeeded team builds to still output to the drop directory

Hi, I'm using Visual Studio Team Build. My build compiles stuff and then runs some automated tests. If the tests fail, the build ends with status "Partially succeeded". When this happens, the only file in the drop directory is the build log. It seems that team build only copies the contents of the Binaries folder to the drop directory i...

Best Project Management tools, source control, builder and wiki.

Howdy there. I'm putting together a new software team and I'm looking at different tools that overcome previous nightmares I've had with other teams. Over the last 5-6 years these are some transitions I've gone thru: SourceControl: CVS => VSS => SVN Project Management, Bug and Issue Tracking: Paper => PostIt Notes => OneNote ...

In TFS, how can I cherry-pick a changeset to an unrelated branch?

I have a very messy TFS structure that I am trying to clean up (thanks to my predecessor). I now have a situation where I need to bring changesets selectively from one branch to another where they don't have a parent/child relationship and I don't want those changes to pass through their shared trunk. How can I do this? I have tried a...

Is it possible to connect to 2010 TFS from Visual Studio 2008 Professional

Is it possible to connect to 2010 TFS from Visual Studio 2008 Professional There is an update VS90SP1-KB974558-x86.exe that is targeting VS2008 client, but that update did not recognize Professional version of VS2008. Although TFS2010 is part of professional MSDN subscription ...

Super long Visual Studio pauses connected to TFS

Ever since I connected to TFS, Visual Studio has started pausing for very long periods of time (30-60 seconds), even when doing things that probably shouldn't be hitting the server. It eventually comes back, but it's very disruptive. The server is not local, but I'm told that it's not really doing much, nor does it have a lot of traffic....

How to create a TFS 2010 SendEmailNotification handler

So I have recently moved my email to google apps and now require smtp authentication to send email from TFS. Lo and behold: TFS doesn't support this feature. As a workaround I tried setting up an SMTP relay on my TFS server but couldn't get it to work. I figured instead I'd create a TFS event handler which could react to the event whi...

Sharing common libraries in a large team & tracking what version of the libraries are being used

I belong to a .NET shop using TFS. In the last year or so we've been trying to share and between our teams (some local, some in a completely different region). Up until now, we've included shared code as project references. As the dependency on the shared code grows, we're getting into more and more problems (people modifying code th...

How can I find out which branches a TFS changeset has been merged into

If I have a TFS changeset ID, can I find out which other branches that changeset has been merged into? (using VS2008) ...

Building BizTalk 2009 on TFS 2010

I am trying to get a biztalk 2009 project to build on TFS 2010, and i keep running into this same error. C:\BuildsShare\....\Schema\ShippingConfirmation.xsd: Could not find file 'Microsoft.BizTalk.TOM.resources'. I have seen this post, it resolved some of my build problems but not all, specifically I haven not seen any reference to '...

Subscribing to TFSEventService with WCF (2010).

Has anyone created a WCF service that subscribes to the TFSEventService and listens for the WorkItemChangedEvent? There are a couple SO questions I found regarding this but from the small bit of info I could find it seems that 2010 might be slightly different and these two SO questions are from 2009 (1537302 and 1891773) so not sure if ...

How can I update the outdated Team Foundation Server file status icon in Visual Studio 2010?

In visual studio 2010, under solution explorer the source control icons by the files denote that the file is currently checked out. However if I look at the file in the source control explorer it appears not to be checked out. I have tried the "refresh" button in solution explorer as well as "get latest version...". Neither update the st...

Team Foundation Server 2010 and Offline development?

Did Microsoft add anything to improve offline development? I'm comparing TFS with Mercurial. Edit #1: Work Environment Details 20 Developers. 1 location. TFS 2005 is already installed, but only being used by 4 developers. Those that use TFS, are only using it for Source Control Others using VSS. :( Many small projects (Over 50 proje...

TFS API to update workspace

I have used TFS API 2010 to update my workspace.The hierarchy of my TFS project is as follows: $\PROJECT\ \Build \Branch1 \Branch2 \Branch3 I want to update the Build folder and the Branch2 not all the directories under PROJECT.The code snippet used is as follows. IEnumerable changesets=this.so...

Visual Studio 2010: Search within Team Explorer query results without modifying the query

Hi all, Imagine you have a query that looks like this. and it returns all the items whose title contains the string "fixed". However, I'd like to refilter the results further - for example, searching for another string in the title (ex. ListBox). Is it possible to do that without modifying editing the query and adding another And cla...

TFS Custom Check-in Policy Debugging

I have created a custom check-in policy as given in the link below: http://msdn.microsoft.com/en-us/library/bb668980.aspx I followed the steps as explained by the article. Everything works fine. My doubt is - Is it possible for me to debug the code while check-in the code? Consider I want to know what are the methods are called inside...

How to track Domain Entities with TFS using the CMMI project template?

My enterprise is about to start a somewhat complex project in which we will probably use Domain Driven Design for the business layer. The project will be developed using Visual Studio 2010, and managed via TFS 2010 using the CMMI 5.0 team project template. I think that it would be a good idea to use TFS work items to track and manage th...