What happened to “Exclude from Source Control” in VS2012

后端 未结 6 1967
自闭症患者
自闭症患者 2021-02-19 04:35

I want to exclude some of the files in code folders from TFS 2012 source control.

Before VS2012 this was done by the \"Exclude from source control\" command available in

6条回答
  •  半阙折子戏
    2021-02-19 05:21

    I have the real solution.

    In the "team explorer" pane, in the "pending changes" tab, right click a new file you don't want in source control, and click "undo".

    It will leave the file in the project, and exclude it from TFS. In the project window, the file will never have a "lock" icon on the left of its name.

提交回复
热议问题