Using EasyHook to disable TFS readonly files

Dec 15, 2010 at 5:50 PM


When files are downloaded from TFS source control (Using the Team Explorer plugin), TFS automatically puts them in readonly mode (it also does this when they check in, and in many other places) I would like to know if could use EasyHook to force Team Explorer (and therefor VS.NET and the TFS client api) to avoid setting files as readonly.

Can this be done? Can anyone here provide me with some hints on how to do it?



Dec 16, 2010 at 7:04 AM

Hmm I hate TFS doing that too but I thought there would be a built-in option?

If not just check which APIs can be used to make files readonly and replace them with empty handlers.