Hi All,
I'm working on a application where multiple dev will check-in everyday. I want to copy latest files only after check-in and successful TFS build to a share location. Currently I'm using post build script something like
Attrib -r "$(ProjectDir)Data*." /S & xcopy /S /Y /I "$(ProjectDir)Data*." "ShareLocation"
But the biggest problem is, even someone locally made some changes and then do local build, all files get copied to the shared location. But I only want to copy files which are checked-in and after successful TFS build.
Could someone please help what will be the best solution for this. I'm not a build engineer and know very less about MSBuild, so if your answer is MSBuild then please share some good sample rather than giving MSDN link. Thnks in advance.
Pritam