For detecting change/modification in input file for target I am using below code which I wrote while reference this MSBuild reference on Incremental Build.
So If I re