Consider replacing CoreCompileCache with Roslyn DeterministicKey #7043
Labels
Area: Common Targets
needs-design
Requires discussion with the dev team before attempting a fix.
triaged
Milestone
Roslyn is considering exposing an API to compute a key that describes the inputs to a compilation (dotnet/roslyn#57162).
That could be used to replace the CoreCompileCache concept in Common.targets:
msbuild/src/Tasks/Microsoft.Common.CurrentVersion.targets
Lines 3643 to 3673 in 7434b57
That was introduced to avoid problems with the Compile list changing between runs (#1328).
However, if Roslyn exposed a task with similar API to the
Csc
/Vbc
tasks that returned (something like) the DeterministicKey instead of doing compilation, we could use that output instead (instead of having to follow theCoreCompile
inputs as in #5334).This came up when @RikkiGibson and I were talking about some stuff.
The text was updated successfully, but these errors were encountered: