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
Add a comment  | 

1 Answer 1

Reset to default 0

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".


本文标签: aspnet mvcBin and Obj FolderTeam Foundation Server IssuesStack Overflow