I have an MSBuild file that builds */.sln files (builds all .sln files that exist).
The build uses the Build target, so if no changes were made to input files, no project should be built again.
I would like to execute some custom target only if a project actually gets built again.
How can this be done?
Both AfterBuild and AfterCompile are always called, no matter if the compile/build actually takes place.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…