Msbuild: RAR cache dirty reason should be logged

Created on 16 Apr 2019  路  5Comments  路  Source: dotnet/msbuild

RAR should log the reason why the state file became dirty and why it chose to write it. It's hard to diagnose why the state file is written every time on empty rebuilds where nothing changes.

Debuggability Logging

Most helpful comment

No, no: I believe you! But we should change that . . .

All 5 comments

State file being written triggers unnecessary rebuild of the _WriteAppConfigWithSupportedRuntime and _CopyAppConfigFile targets.

State file being written triggers unnecessary rebuild of the _WriteAppConfigWithSupportedRuntime and _CopyAppConfigFile targets.

This is a separate bug, I think. The cache file should be an implementation detail of RAR and nothing else should even know about it.

No, no: I believe you! But we should change that . . .

Was this page helpful?
0 / 5 - 0 ratings