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
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.