Windows Post-Build Script in the new system

This is the same behaviour on macOS, right? See, for example, this post:

I think something similar should be done with MSVC. You could use the $(ProjectName) build script variable.