Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exclude certain folders from Visual Studio 2012 detected changes list?

In Visual Studio 2012 / Team Explorer / Pending Changes there is a link to list of files with detected changes inside the solution.

How can I make Visual Studio NOT to detect pending changes in _ReSharper.* and Packages folders?

enter image description here

like image 579
Grief Coder Avatar asked Sep 08 '12 08:09

Grief Coder


1 Answers

You can manually add a .tfignore file to your solution to ignore specific files, extensions or folders. The items defined in that file will not be considered as a change. If you click on the 'detected changes' you can also ignore items from within Visual studio (by right-clicking a selected item).

In case of resharper you can choose to put the cache files in the system temp folder. That way you don't have to exclude them from source control:

http://www.splatto.net/portfolio/blog/post/2009/06/29/Removing-Resharper-Cache-Directories-in-Project-Solution-Folder.aspx

Update: The above link no longer resolves, but information on configuring your Cache location in ReSharper is available in the Resharper Help Center

like image 118
Smeffie Avatar answered Oct 18 '22 22:10

Smeffie