Perform step1 through step 3 from subsection Setting up a Development Environment.
Right-click your working project in Source Control Explorer and select Get Latest Version.
All out-of-date files are copied in the local folder. For example, C:\Workspaces\Development
In the Import Wizard, select the project file (smproj) to be imported.
Select the database to be updated.
Select Replace to avoid resolution conflicts.
Click OK to complete the import.
You can also perform step 3 through step 6 by using a batch file with the following commands.
C:\Workspaces\Development >tf get Import.exe -c -m <databaseName> -s <hostName> C:\Workspaces\Development\Sample\Sample.smproj
Note: The above steps only imports the changed files while importing a .smproj file.