Truncate generated files that shrink in subsequent builds.
Add Generator to source file so file is regenerated each time.
Skip scanning compile items that are missing the Generator