minver icon indicating copy to clipboard operation
minver copied to clipboard

MSBuild caching

Open adamralph opened this issue 1 year ago • 3 comments
trafficstars

adamralph avatar Jul 20 '24 16:07 adamralph

@bording what do you think of this as a lightweight alternative to #989?

I was thinking it would be nice if MSBuild exposed tasks which could read and write from the build cache, so I went ahead and wrote those tasks. I could even see those potentially being contributed to MSBuild.

adamralph avatar Jul 20 '24 16:07 adamralph

FWIW, I tested this with https://github.com/Particular/ServiceControl, and a single threaded build went from 43 seconds to 24 seconds.

adamralph avatar Jul 20 '24 20:07 adamralph

testing the water with https://github.com/dotnet/msbuild/pull/10418

adamralph avatar Jul 20 '24 21:07 adamralph

@bording I've released this in 5.1.0-rc.1—please feel free to give it a try.

adamralph avatar Aug 15 '24 12:08 adamralph

re-released as 6.0.0-rc.1 because the next release contains at least one breaking change

adamralph avatar Aug 15 '24 12:08 adamralph