MSBuild emits the following message for up to date targets:
Skipping target \"MyTarget\" because all output files are up-to-date with respect to the input files.
MSBuild compares the input and output file timestamps to determine whether a file is up to date. See Incremental Builds for details.