How to remove file from TFS Team System font control but not remove it from project

0

I have a web application that I develop in partnership with another programmer. There are situations where we can not share a particular file. Example: file nhibernate.cfg of the bin folder.

Is it possible to keep two versions of the same file one for each user?

    
asked by anonymous 12.02.2014 / 17:14

2 answers

0

I know a way I would not say to be the most elegant, but it works ...

When you include a file in your project (it can be dragging and dropping inside the folder in Solution Explorer) it will be marked with + for Addition, if you give a Undo Pending Changes file will continue in your project but will be ignored.

Since you already have the versioned file, you would probably need to remove this file and then perform this procedure.

    
12.02.2014 / 21:07
0

Try to make a Branch. In Visual Studio, go to the Team Explorer tab and open Source Control Explorer. Look in the file tree for the file you want, right-click it, go to the Branching and Merging menu and select Branch. Click ok on the screen that will appear.

I'm not sure if this will work the way you need it, but it's worth a try ...

    
12.02.2014 / 18:22