Open and Switch Case

A few folks on the forums have asked how they can specify other editors to open files in Team Foundation version control. In particular, Acrobat PDF files have come up a few times. When investigating the issue, I discovered a workaround that I thought might be of general interest.

To open a single file with a particular application:

  1. Highlight the item in Solution Explorer
  2. Select the "View" --> "Open With..." menu option
  3. Choose one of the default applications, or click "Add..." to choose a different application
  4. Click "OK" to open the document

To set an application as the default for all files with a particular extension, follow the above instructions, adding a step "3a" to click the "Set as Default" button. Afterwards, when you open items from Source Control Explorer, they will use the specified applicaiton, as well.