Then there must be an issue with your Delphi environment.
Please check if you can start MSBUILD directly from the command-line after running RSVARS.BAT and if not, try a repair install of Delphi.
Then there must be an issue with your Delphi environment.