Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 return to a normal TFS checkin window?

VS2012 seems to remove the popup window for TFS check-ins that was in VS2010. It now seems to take over the team explorer tab in my sidebar, and buries the important things - like which files I've changed. Is there any way to return to a normal popup window for check-ins in VS2012?

like image 986
davidpricedev Avatar asked Aug 30 '12 20:08

davidpricedev


People also ask

How do I force check in TFS?

Right-Click In the File List, right-click the file you want to check in and select Source Control > Check In (for selected files) or Source Control > Project > Check In All (for all files in the project).

How to check in in Visual Studio?

Choose the files you want to check in You can also check in as you work in other areas of Visual Studio. In Solution Explorer, right-click the solution, one or more code projects, or one or more files, and select Check In.


1 Answers

For me, the best solution is based on iSid's answer: to add an external tool that pops up the old dialog. You can do this from Visual Studio: TOOLS -> External Tools… -> Add, with the following values:

Title: Checkin (or any name that should be displayed in the menu)
Command: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe (this is the default VS install location on Windows x64)
Arguments: checkin
Initial directory: $(SolutionDir)

Here is a screenshot:
External Tools Dialog

You can invoke from TOOLS -> Checkin (or even assign a keyboard shortcut to Tools.ExternalCommand* as described here) and enjoy the old goodies with a new style:
Checkin Dialog

Note that this won't work if a solution is not opened, because of the $(SolutionDir) variable. To workaround this, you can hard-code the path to your workspace instead.

Additionally, tf.exe can be invoked with 'shelve' argument, which will show the old-style shelving dialog.

like image 157
Borislav Ivanov Avatar answered Oct 13 '22 06:10

Borislav Ivanov