How can I exclude the bin
folder from Check in and Check Out from TFS version control in the TFS plug-in for Eclipse?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The bin folder should already be ignored by TFS unless everywhere is configured differently. Do possibly mean that the bin folder is already checked in and you don't want to manipulate it any more? If that is the case simply delete the bin from tfs and it will stop prompting you for check out/check in. Bin folders typically are not under source control
回答2:
You can use a .tpignore
file to ignore files. The easiest way to add the bin
directory to your .tpignore
is to simply right click on the bin
directory in Package Explorer and select the "Ignore" option in the Team menu.
回答3:
I had the same problem, I added the following to the .tfignore file
/bin/
/bin/.*
/bin/classes/*
I had to include the classes directory explicitly because it continued to appear in the pending changes.