exclude bin folder from Team Explorer Everywhere

2020-07-30 03:52发布

How can I exclude the bin folder from Check in and Check Out from TFS version control in the TFS plug-in for Eclipse?

3条回答
萌系小妹纸
2楼-- · 2020-07-30 04:38

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.

查看更多
做自己的国王
3楼-- · 2020-07-30 04:50

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

查看更多
等我变得足够好
4楼-- · 2020-07-30 04:58

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.

查看更多
登录 后发表回答