Hi all,
we are 3 programmers working on the same project. Files are included in Team Foundation Server Source Control. Is there any option like "Check latest version while compiling" E.g. if Programmer A modifies a file and checks it in again, Programmer B could not notice this, right If B checks out the same file, a message is displayed that there is a newer file in Source Control available. That's good. But there is no such message when B just compiles the project. Wouldn't this make sense I don't want to press always "Get Latest Version" on the complete project as I might lose some of my modifications which haven't been checked in yet. Any ideas or am I wrong Thanks in advance

GetLatestVersion while compiling
BasildonBond
So the standard developer workflow is:-
- Get latest on project.
- Make changes that I want to make to the code base (based on an assigned task or bug etc)
- Make sure code compiles and test (preferrably with MSTests or Nunit tests but manualy testing is fine)
- Do a get latest on project to pick up other developers changes
- Quick test again to make sure other changes haven't broke anything.
- Check-in (associatig to work item if it exists)
You could also invest in a Continuous Integration build process using Team Build or CruiseControl.NET as this would highlight cases where developers have accidentally broken other parts of the code base by making a change.Hope this helps,
Martin.
TheHighKing
M1234567
I am getting this problem too. We have a pdf file in the TF source. The vesion I get from source
is different as another developer get. Looks like I only get the old version even I
Get with Force and Overwrite flag set true and Check in files as you said.
And I compared the one in my solution with the one on source, they are identical.
But I know the pdf file on source has much smaller size. How is this happened
Thanks.
present
Hello,
checked out files will not be overwritten even if you perform Get with Force and Overwrite flags set to true. VS will show you "Resolve Conflicts" dialog then.
You can write macro which would do get latest and then build your project, similar to get latest on checkout, described here