adamralph / minver

🏷 Minimalistic versioning using Git tags.
Apache License 2.0
825 stars 59 forks source link

Add an MSBuild task to call MinVer #989

Open bording opened 3 months ago

bording commented 3 months ago

This PR adds an MSBuild task assembly that is used to call MinVer instead of using the built-in Exec task that was used previously.

This custom task lets us cache the result of the MinVer call, so that MinVer only needs to be invoked once per build.

The cache key uses all of the relevant MinVer input parameters, so if projects are configured to use different values, they will properly not share cache results.

This is the first step of addressing #112.

adamralph commented 3 months ago

Thanks very much @bording, I'm in the process of reviewing.

slang25 commented 1 month ago

This looks really nice, is it still be reviewed?