I was fiddling with a batch file to call MSBuild to build my project. Something went wrong because now when I go into XE2 and choose File | New | VCL Forms Application and click 'Build' (or Run) I get the following immediate error:
Checking project dependencies...
Compiling Project5.dproj (Debug, Win32)
brcc32 command line for "Project5.vrc"
c:\program files (x86)\embarcadero\rad studio\9.0\bin\cgrc.exe -c65001 "Project5.vrc" -foProject5.res
[MSBuild Error] The "OutputExt" parameter is not supported by the "DCC" task. Verify the parameter exists on the task, and it is a settable public instance property.
[MSBuild Error] The "DCC" task could not be initialized with its input parameters.
Failed
Elapsed time: 00:00:00.1
I've done a reinstall using 'Repair', tried again using 'Modify' and checked that the *.targets files are all the same as a known good machine all to no avail. I get the same error if I call MSBuild directly with my project *.dproj file (its an empty project). Where might I look?
PLATFORM
(Tools->Options->Environment Options->Environment Variables from the IDE menu). Sometimes this is an issue for XE2, because the multi and cross platform targets set this depending on which platform the compiler is targeting. Setting it to something not expected (like new HP systems setting it toBPS
or something upon startup) confuses the project settings. - Ken White