I would like to ignore all generated files from TFS. I am generating Product.Generated.cs from Classes.tt
I would like to ignore *.Generated.* and *.ignore; in TFS
in vs2010 I tried to
right click on source control explorer -> add items to folder
Automatically exclude from Source Control:
Debug;Release;ClientBin;*.pdb;*.obj;*.dll;*.exe;*.res;*.resources;*.cache;*.ilk;*.ncb;*.lce;*.xap;*.Generated.*;*.ignore;
but everytime I save my Classes.tt file and it creates my XXX.Generated.cs files it tries to add them to TFS
Thanks
One way would be to put all of the generated code in to a sub folder and then “Cloak” the folder in your workspace. It’s not ideal as you would need to do this in every developers workspace