admin管理员组文章数量:1289951
I have an ASP.NET MVC application shared through TFS for our development team.
We recently have gone over to Team Foundation Server to manage code together.
However, I am running into a bit of an issue when we each check in code. It always attempts to check in the following items:
These items are MyProject.dll and MyProject.dll.config etc.
Each check in they do not automatically resolve, and detects conflicts within these items that are within the Bin folder.
Should we always exclude these changes? Is there as easier way to handle this? Thanks.
I have an ASP.NET MVC application shared through TFS for our development team.
We recently have gone over to Team Foundation Server to manage code together.
However, I am running into a bit of an issue when we each check in code. It always attempts to check in the following items:
These items are MyProject.dll and MyProject.dll.config etc.
Each check in they do not automatically resolve, and detects conflicts within these items that are within the Bin folder.
Should we always exclude these changes? Is there as easier way to handle this? Thanks.
Share Improve this question edited yesterday Bright Ran-MSFT 14.1k1 gold badge12 silver badges27 bronze badges asked Feb 20 at 18:51 EliEli 5691 gold badge8 silver badges28 bronze badges 1- What type of version control are you using for the ASP.NET MVC app in your TFS? Git or TFVC? – Bright Ran-MSFT Commented Feb 21 at 1:27
1 Answer
Reset to default 0If you are using TFVC, you can use a .tfignore
file to configure which kinds of folders and files to ignore. Placing the .tfignore
file in the folder where you want the configuration to apply.
In the .tfignore
file, you can configure some wildcard patterns to match the folders and files you want to ignore. With configuration, if a modified folder/file matches the pattern in the .tfignore
file, this folder/file will be automatically excluded on Pending Changes.
For more details, see "Customize which files version control ignores".
Similarly, if using Git, you can use a .gitignore
file to configure which kinds of folders and files to ignore. you also can configure some wildcard patterns in the .gitignore
file.
For more details, see "Ignore file changes with Git".
本文标签: aspnet mvcBin and Obj FolderTeam Foundation Server IssuesStack Overflow
版权声明:本文标题:asp.net mvc - Bin and Obj Folder - Team Foundation Server Issues - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741413082a2377353.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论