This solved my problem. If you are after enforcing code-commenting, then download and install this program. Add the new "policy" that is now available in Source control and restart Visual Studio. Users now have to enter comments.
Thank you for TFS Power Tools March 2011.
I am running:
Windows 7 Ultimate x64.
Visual Studio 2010 Premium (as Administrator)
Office Communicator 3.5.6907.221 (as Administrator)
But the status icon of myself and another Team Member is not accurate.
It shows up as white, indicating the contact is offline, but this is not true.
Other team members' status show up without issues.
I believe this started happening since installing the latest Office Communicator 3.5.6907.221 from here:
The other team member also installed the hotfix.
We found out that we have to remove the "IM User" and "Email" field values in "Team Members > Personal Settings > Instant Messaging" in order for other member statuses to be accurate. But I still cannot see my own status, but this may be by design.
Could it be possible to have a right-click option in the Find in Source Control screen to go and compare the currently identified file or files to another one? This would be useful for us to see the on-going changes between two teams.
When I try to backup TFS it gives me the error below on the last step.
I dont understand since in the account I put a global domain account with full permissions...
Could you give me a hint? Thanks
Microsoft.SqlServer.Management.Smo.FailedOperationException: Backup failed for Server 'swsourcecontrol'. ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An exception occurred while executing a Transact-SQL statement or batch. ---> System.Data.SqlClient.SqlException: Cannot open backup device '\\backup\TFS\Tfs_Configuration_20110127125031.bak'. Operating system error 1808(The account used is a computer account. Use your global user account or local user account to access this server.).
When I create a new branch in TFS, I have to pick one of three choices: branch from the latest version, date, or changeset. But, after the branch is created, I lose track of what option did I pick and what value. For example: If I branched from changeset, how can I find the changeset number after the branch is created?
I have experienced an issue where the transaction log files get full on the TFS server. I posted on the MSDN site, and the reason for this problem is explained here http://social.msdn.microsoft.com/Forums/en-ZA/tfspowertools/thread/fb69721a-b530-4ce3-ab98-b7da92032386.
Is there a work around for the log files getting full, and will in be fixed in the next verson of the power tools?
If the share you select at the first step has any space in it the Verification of the Grants (last step) will always fail independently of the real security properties of the shared folder.
in other words: \\server\Team Studio Backup
or: \\server 1\backup
will ALWAYS fail
will be checked correctly.
To find this took me a while, hoping it helps others till it is fixed
I have been trying to use TFPT at the command line with both the scorch and treeclean commands, but each time I attempt to execute the command, I get an error message stating that "TF30063: You are not authorized to access <TFS Server>\DefaultCollection". I am currently logged into my TFS Server using Visual Studio 2010 over a VPN session. When I launch Visual Studio 2010, I am prompted for login credentials and I can therefore access TFS via Team Explorer. In addition, I know that the tf command supports passing a /user switch in order to ensure that user credentials are passed, but how do I force TFPT to also recognize these credentials since the /user switch does not seem to be supported nor accepted as a valid switch?
I just want to ask if there is an easy way to get the latest version of a version controlled folder using the TFS's Team Foundation Power Tools?
I am using the "scorch" command, but it doesn't overwrite the local files with the newer ones from the TFS. Is there any other command that is more appropriate for my case?
I tried the "GetCS Command" but couldn't figure out how to get the "latest" changeset. In my scenario I just need to update(overwrite) the local folder with the latest version of it from the TFS (pretty much the same as the "Get Latest Version" command from the "Team Foundation Server" context menu).
Is there any way to achieve this using the Team Foundation Power Tools?