Stephen Cleary has just checked in the first version of the DynamicExecute task. This will ship in version 18.104.22.168 of the MSBuild Extension Pack, but if you compile the code yourself, you can start using it now.
We’d appreciate any feedback you have. Download
Documentation for the task is provided here