I’m trying to use msbuild.build to build a Delphi project. Unfortunately, I get the “MSBuild is not set in the environment path!” error.
I’ve also added the line
shell.exec(“c:/Program Files (x86)/Embarcadero/RAD Studio/9.0/bin/rsvars.bat”);
before calling msbuild.build, but that didn’t help either.
How should I set the MSBuild environment path properly and do I need to call rsvars.bat when using Train’s msbuild?