Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trigger a rebuild if ILC command line changes
Incremental build wouldn't consider things like `OptimizationPreference` property changing as a thing that should trigger a rebuild. I feel like this is more a MSBuild bug, but it has been like this for a long time. Turns out we can use `WriteIlcRspFileForCompilation` target as a sentinel: * Run the target always. We only actually write out the file if it's different (`WriteOnlyWhenDifferent` is already set to `true`). * ILC execution already specifies the RSP as one of its inputs. So if the RSP is more recent than the output, it will trigger a build. Fixes #88725.
- Loading branch information