Reputation: 567
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.
Upvotes: 0
Views: 33
Reputation: 13944
If 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".
Upvotes: 0