Reputation: 4478
I want to exclude the packages folder from being checkedin to my project so I have created a tfsignore using the manual process defined here (How do I permanently exclude the bin and obj folders from TFS 2012 checkin?), for some reason I can't do it using VS as the "Detected Changes" link is not showing on my VS 2012. I have btw, TFS 2012. When I do this. in the Included changes window, the contents of the Packages folder are still being listed, so the .tfsIgnore file doesn't seem to be working? Contents of the .TFSIgnore file which is at the root:
######################################
# Ignore .cpp files in the ProjA sub-folder and all its subfolders
ProjA\*.cpp
#
# Ignore .txt files in this folder
\*.txt
#
# Ignore .xml files in this folder and all its sub-folders
*.xml
#
# Ignore all files in the Temp sub-folder
\packages
#
# Do not ignore .dll files in this folder nor in any of its sub-folders
!*.dll
Upvotes: 3
Views: 4479
Reputation: 44326
I believe the file it is looking for is called '.tfignore' (note the lack of an 's').
Upvotes: 8
Reputation: 22245
Make sure your workspace is configured as a local workspace (not server)
Upvotes: 0