Question

When I checkout files from tfs the modified date of the files get set to "now" (checkout date and time).

This behaviour, however, is not wanted from me for files that belong to purchased 3rd party controls from other software vendors. If I distribute these files to customers then I can't reliably check which version of the file is installed if there is a problem.

I know that tfs 2010 will have an option where you can select the desired strategy, but until then I need a different workaround. anyone else had this problem? how did you solve, or get around it. any advice is welcome, thanks!

Was it helpful?

Solution

One possible work around is to look at wrapping all third party files and controls within a class library and embedding any binary files within either that project resources or assembly file, you can then extract them as required when the program runs (example here).

As your project is under version control you will know exactly which file is in use by the version number of your project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top