1 0 Tag Archives: team foundation server
post icon

Microsoft Virtual Academy: Team Foundation Server 2012 Jump Start

Microsoft ha rilasciato di recente una piattaforma per l’e-learning: la Microsoft Virtual Academy (MVA).
Ogni settimana sono disponibili nuovi corsi, ed è possibile iscriversi gratuitamente a numerosi corsi su prodotti e tecnologie Microsoft; una vera occasione per una formazione gratuita fornita da esperti Microsoft.
Microsoft Virtual Academy fornisce (previa autenticazione con account Microsoft) una dashboard che tiene traccia del proprio piano di studi personale, i corsi attivi con relativa percentuale di completamento, ed i corsi completati.

Inoltre, effettuando l’accesso a Microsoft Virtual Academy, si può usufruire di uno sconto del 50% sugli e-book e del 40% sui libri stampati.

Per una prima ‘degustazione’ della nuova piattaforma, vi riporto di seguito un interessante corso (Administering Visual Studio TFS 2012 Jump Start) relativo a Team Foundation Server 2012, un prodotto Microsoft per la gestione del Source Versioning e per l’application lifecycle management.

Overview & Install and Configure Team Foundation Server (Part 1)

Install and Configure Team Foundation Server (Part 2)

Manage Team Foundation Server (Part 1)

Manage Team Foundation Server (Part 2)

Customize Team Foundation Server for Team Use

Administer Version Control

September 30th, 2016 @ 08:00
post icon

TFS find in files version history with Visual Studio 2010 and 2012

Recently I needed to find in all files version history of a TFS 2010 project with Visual Studio 2010.

Searching on Google I found Visual Studio 2010 and 2012 extensions, developed by Mattias Sköld, that allow you to achieve the goal.

Let’s see how to find inside all version of files with Visual Studio 2010 on TFS 2010.

Once installed the TFS Administrators Toolkit for VS 2010 extension we will get the feature by right-clicking on the TFS root Collection from Team Explorer window, as illustrated in Figure 1.

Figure 1

Figure 1

We you ckick Find in Files the followinf popup will open:

Figure 2

Figure 2

As you can see in the Figure 2, the feature allow you to:

1) Select Team Project
2) Filter by extension file type
3) Search or not in the file history
4) Specify search terms (keywords) with case sensitive and regular expressions options

post icon

Error TF203015: The item $/mypath/myfile has an incompatible pending change.

When you work with Team Foundation Server 2010 and Visual Studio 2008 you cannot merge file changes when you try to unshelve a shelveset. In fact if you try to unshelve  a shelveset which contains file already chenged on the local workspace, you will have the following error:

TF203015: The item $/mypath/myfile.cs has an incompatible pending change

because the file myfile.cs is checked out on the local workspace and the unshelve operation fails because the merge operation doesn’t occur during unshelve operation.

To support this requirement Microsoft has released the Team Foundation Power Tools 2010 (TFPT) that allow you to perform the merge during unshelve.

Below is the step by step procedure.

Assume that the working folder is C:\WORK\MyProject, which is the local folder mapped to the TFS project MyProject.

  1. Open the Visual Studio 2008 Command Prompt
  2. Go to workdir with the command cd C:\WORK\MyProject
  3. Insert the command tfpt unshelve and press Enter(if the credentials prompt appears, insert the right credentials)
  4. Then the popup “Find Shelveset” will appearChoose the desired shelveset and click Unshelve button
  5. “Unshelve/Merge Shelveset” window will appar and will show to you the list of confilct files.
  6. Click the Auto-merge All button.
That’s all!
You have on local workspace the local changes merged with shelveset changes.
This behavior is due to the fact that the merge tool between the shelveset it was not integrated into Visual Studio 2008, so it can only be done with the Team Foundation Power Tool.