Or (more correctly I suppose) why doesn't MS_SDK seem to be defined??
That was a place-holder I added there because originally there was the path to *my* installation.
However - I am not sure if you need the prebuild-steps at all. In fact they should be pretty useless and setting the environment is local for this very call only and does not persist the C::B session (thanks god).
The most important aspect is calling "
mt" with the macro parameters as described. "
mt" needs the environment to be setup correctly. So probably you do the call of "
mt" in a batch file (calling the pre-build steps and then the "
mt" command) and setup the post-build step in C::B to call this very batch file. This should work very reliable.