1

We are a small dev team supporting a few apps in visual studio. All code changes are checked-in to a VSTS account.

The project I work on is mostly maintained by myself, occasionally by another developer, so I rarely do a full 'get' and only check-out files when I need to change them.

Is there an easy/automatic way for me to be alerted that another developer has checked-in files and prompt me to do a get or compare the changes?

In classic Visual Basic, VSS could be set to do a 'full get' everytime the IDE is opened - always ensuring all developers have the latest code.

Is there nothing similar in Visual Studio? Even just a notification that my working copy is different to the checked-in version would be enough.

userSteve
  • 1,554
  • 1
  • 22
  • 34

1 Answers1

2

You can try switching to Server workspace, then In Visual Studio you can enable the option Get latest version of item on check-out in a server workspace (It's not available for Local workspace).

If you are using Local workspace, as a workaround you can try writing a script with tf get command,then auto run the script periodically, thus the local version will always be the latest version. See below articles to set the auto run task:

enter image description here

If you want to get a notification when others check in the changes, then you can create a subscription:

Navigate to specific project -> Manage -> Notifications -> New subscription -> ... Select the proper Deliver to as needed.

enter image description here

Andy Li-MSFT
  • 28,712
  • 2
  • 33
  • 55
  • Thanks, I will try the notification method to see if it works for me. I still miss 'get all on opening solution' option from the old days. – userSteve Apr 25 '18 at 16:14