Symbolic links in TFS 2010 Source Control?

前端 未结 3 2006
暗喜
暗喜 2021-02-18 22:28

As far as I know, Team Foundation Server 2010\'s source control (and prior versions) doesn\'t support linking (Symbolic links) of files.

Linking (per Visual SourceSafe)

3条回答
  •  一整个雨季
    2021-02-18 23:07

    There seems to be a work-around for this for Linux-based systems.

    This page - Applying Unix Filesystem Attributes to Files under Version Control - describes how to use a .tpattributes file text file to store details about file attributes. The article applies to the Visual Studio 2010 edition.

    The process is described here: How to work with symbolic link files under Linux/Unix and TFS?. It involves the use of both a .tpattributes file, and a 0-byte file representing the symlink.

    There have been some reports of success for this, according to the comments on an updated request to Microsoft for this feature to be implemented in TFS 2015.

    In Perforce, symlinks may just be checked-in without having to go through any of this.

提交回复
热议问题