View Single Post
  #5  
Old 05-18-2009, 01:20 PM
tgr tgr is online now
Registered User
 
Join Date: 05-13-2009
Posts: 7
Thanks for the suggestion.

I tried the follwing settings:

Override the default location of the command-line compiler executable:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBu ild.exe

Do not run rsvars.bat befor MSBuild:
Checked

Command to run before main command:
C:\Program Files (x86)\CodeGear\RAD Studio\5.0\Bin\rsvars.bat

...but the resulting command line fails:
cmd /c C:\Program Files (x86)\CodeGear\RAD Studio\5.0\Bin\rsvars.bat&"C:\Program Files (x86)\CodeGear\RAD Studio\6.0\Bin\brcc32.exe" Test2007.vrc -foC:\Temp\VisualBuildPro\Test2007.vres

... and actually looks quite different from what I expected:
cmd /c "@echo off&"C:\Program Files (x86)\CodeGear\RAD Studio\5.0\Bin\rsvars.bat"&C:\Windows\Microsoft.NE T\Framework\v2.0.50727\MSBuild.exe C:\Temp\Project1.dproj /p:Configuration=Release||exit -1"

Regards, Trond
Reply With Quote