We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of t
Thank you @mike & @ray,
I wish to make it easier.
In VS, at Tools menu, click on "External Tools".

Click Add.
Enter title.
Command: tfpt.exe
Arguments: uu . /noget /recursive
Initial Directory: [you can choose from the arrow button].


Two new command are added to Tools menu.
Use them when needed.
Enjoy,
Ofir