TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Entries Tagged as 'Team Foundation Version Control'

Turning off policy overrides in TFS

May 13th, 2014 · 4 Comments · 18401, Team Foundation Server, Team Foundation Version Control, Tools and Utilities

The Goal Check-In policies have been around since the first version, TFS 2005, to help a team define a list of steps they want to perform prior the checking in. If a policy is not met, it alerts the user. When policies fail, there is an option to “override” the warning(s) and continue with the […]

[Read more →]

Tags:

Extending TFS’ default behavior using server-side plug-ins

May 12th, 2014 · No Comments · 18401, Team Foundation Server, Team Foundation Version Control, Tools and Utilities

In TFS 2005, Check-In Policies helped to ensure certain rules prior to check-in. However, check-in policies are executed locally and you must ensure they are available for the client (in the appropriate version) and installed. In TFS 2010, Gated Check-Ins were introduced, which allowed validations such as the compilation, unit test execution and more (basically […]

[Read more →]

Tags:

Available Check-In Policies for Team Foundation Server 2012

October 15th, 2012 · 2 Comments · Project Management with TFS, Team Foundation Server, Team Foundation Version Control, Tools and Utilities, Visual Studio Online

Shipping as part of Visual Studio 2012: Builds – Requires that build was successful (CI builds) and therefore build breaks must be fixed before a new check-in. Changeset Comments Policy – Requires that user provide comments on check-ins. (new in VS 2012) Code Analysis – Requires that Code Analysis is run before check-in. [More] Work […]

[Read more →]

Tags:

Solved: How to find shelvesets from all team members?

September 6th, 2011 · 2 Comments · Team Foundation Version Control

If you don’t know the owner name, is there another way to search for the shelveset? In the "Unshelve" dialog, either enter the username, or use "*" (for all users): (Thanks to VS ALM MVP-colleague Mike Fourie for raising the question.)

[Read more →]

Tags:

Available Check-In-Policies for Team Foundation Server 2010

June 14th, 2011 · No Comments · Team Foundation Server, Team Foundation Version Control, TFS 2010

Note: This list will not be updated anymore. For TFS 2012, refer to the updated list. Shipping as part of Team Foundation Server 2010: Builds – Requires that build breaks that were created during a build must be fixed before a new check-in. Code Analysis – Requires that code analysis is run before check-in. [More] […]

[Read more →]

Tags:

Could not write lines to file FileListAbsolute.txt. Access to the path is denied.

March 16th, 2011 · 4 Comments · Team Foundation Build (TF Build), Team Foundation Version Control

You receive the following error message: C:\WINDOWS\Microsoft.NET\Framework\v4.0\Microsoft.Common.targets(3246,9): error MSB3491: Could not write lines to file "obj\Release\abc.Common.vbproj.FileListAbsolute.txt". Access to the path ‘c:\TFS Builds\Sources\abc\obj\Release\abc.Common.vbproj.FileListAbsolute.txt’ is denied. Possible Cause: Have you checked in the "obj" and "bin" folders? To resolve this issue: Delete the "obj" and "bin" folder in source control. (usually those are not checked in) Delete […]

[Read more →]

Tags:

Download files from TFS version control and set the file last access timestamp to the file’s last check-in time

March 14th, 2011 · 10 Comments · Team Foundation Version Control, Tools and Utilities

Often I hear the following questions about TFS version control: Can I just download files or folders from TFS without having to create a workspace? Can I specify that files do not have the read-only attribute set? Can I configure that files show the last check-in time as last write time? Can can I “export” […]

[Read more →]

Tags:

Clean old and unused workspaces and shelves from your TFS

March 3rd, 2011 · 6 Comments · Team Foundation Version Control, TFS Administration, Tools and Utilities

The command line utility “tfsclean.exe” helps  with two scenarios: You want to find and delete old worspaces and shelvesets (oder than XX days). You want to find and delete workspaces and shevlesets from a certain user (e.g. when the user left the company) Caution: There’s no way to recover a shelveset once it is deleted. […]

[Read more →]

Tags:

How to add a source control folder to an existing team project

November 3rd, 2010 · 3 Comments · Team Foundation Server, Team Foundation Version Control, TFS 2010, TFS Administration, Tools and Utilities, Troubleshooting TFS

When double-clicking the Source Control node of a Team Project that has no source control folder you receive the following message: No Source Control Folder Cannot open $/Projectname. Source control has not been configured for this team project, you do not have permission to acces it, or the team project has been moved or deleted. […]

[Read more →]

Tags:

See and possibly unlock files checked out by other team members

August 4th, 2009 · 2 Comments · Team Foundation Version Control, TFS Tips and Tricks, VSTS

Ed Hintz points out that this is easily done with TFS Power Tools and wrote about it in 2007. In the Source Control Explorer, right click on a parent folder that contains the pending change and choose, “Find in Source Control”. Choose "Status…". Press the Find button. (optionally you can type in a user and\or […]

[Read more →]

Tags: