This is very similar to this question, except for the problem except the problem exists on MSBUILD after I fix it for VS2013. The post-build event is running even though the compiler and linker think the project is up-to-date.
Any thoughts on how to prevent the post-build event from running here?
1>Project "D:\XXX\XXX\XXX\XXX.vcxproj" on node 1 (default targets).
1>InitializeBuildStatus:
Creating ".\..\XXX\XXX\XXX\XXX.39DEE505.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.\
ClCompile:
All outputs are up-to-date.
All outputs are up-to-date.
ResourceCompile:
All outputs are up-to-date.
Link:
All outputs are up-to-date.
WpnSiteOverlayManager.vcxproj -> D:\XXX\XXX\XXX\XXX\..\bin\Release\XXX.dll
PostBuildEvent:
"..\..\..\Components\DevTools\Build\BuildCommand.exe" /p "..\..\..\Products" "D:\XXX
....
buildcommand completed successfully
FinalizeBuildStatus:
Deleting file ".\..\intermediate\release\XXX\XXX.39DEE505.tlog\unsuccessfulbuild".
Touching ".\..\intermediate\release\XXX\XXX.39DEE505.tlog\XXX.lastbuildstate".
1>Done Building Project "D:\XXX\XXX\XXX\XXX.vcxproj" (default targets).