How to: Pin a Version Using a SourceSafe Plug-in

You can use a SourceSafe plug-in in Visual Studio to pin a version of a file. The pinning and unpinning mechanisms are very similar to those used in Visual SourceSafe. See Version Control for more about pinning versions.

To pin a version in a SourceSafe plug-in:

  1. In Visual Studio, open Solution Explorer and select the file to pin.

  2. On the File menu, click Source Control and then click History.

  3. In the History Options dialog box, click OK.

  4. In the History of <name> dialog box, select the version that you want, then click Pin. A pushpin icon appears next to the pinned file.

  5. Click Close. If you have a different version loaded in Visual Studio, you are prompted to reload the file.

To unpin a version in a SourceSafe plug-in:

  1. In Visual Studio, open Solution Explorer and select a pinned file.

  2. On the File menu, click Source Control and then click History.

  3. In the History Options dialog box, click OK.

  4. In the History of <name> dialog box, select the pinned version, then click Unpin.

  5. Click Close. Visual SourceSafe unpins the file so that the most recent version is the current version.

See Also

Tasks

How to: Pin a Version

Reference

History of <name> Dialog Box (Explorer and Plug-in)
History Options Dialog Box (Explorer and Plug-in)

Concepts

Version Control