And what, exactly, were the results? In what way(s) did it "not work" ?
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
I would double check that what you are pointing to is actually there and that you have access to it.
If you just add "mspaint" as a pre-build step, does it launch Microsoft Paint before building? Or some other really simple build step just to get a base line of where it fails for you.