Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically

Use tf.exe in the command line. In the following examples, the %PathToIde% is usually on a path like this: %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE, or on Windows x64: %ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE (depending on Visual Studio version and installation settings). Example for get: cd C:\TFS\Arquitectura “%PathToIde%\TF.exe” get $/Arquitectura/Main /recursive Example for checkout: cd C:\TFS\Arquitectura “%PathToIde%\TF.exe” checkout … Read more

Why doesn’t TFS get latest get the latest?

TFS redefined what “Get Latest” does. In TFS terms, Get Latest means get the latest version of the files, but ignore the ones that the server thinks is already in your workspace. Which to me and just about everyone else on the planet is wrong. See this link: http://blogs.microsoft.co.il/blogs/srlteam/archive/2009/04/13/how-get-latest-version-really-works.aspx The only way to get it … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)