Updated to Clarify
When Visual Studio (VS) performs a build, it determines whether or not to build a project or state that a project is "Up to Date" based on whether the contents of any of the included project source files change since the last build.
Is there a way for a VS extension to determine at the project build start event to determine if any of the files in the project are out of date since the last build and therefore VS needs to build the project or whether all the project files are the same and therefore there VS will not build the project, just state that it is up to date?
I want to take an action at the project build start event only if the project will indeed be built.
For completeness sake, here are the important build events:
- Solution build start
- Project build start
- Project build end
- Solution build end