How to specify MSbuild output folder?

Pavan picture Pavan · Jul 5, 2009 · Viewed 28.4k times · Source

When I execute delphi 2009 project using MSBuild command line, output always goes to C: drive

C:\MyProjects>MSbuild "C:\MyTestProject\Test.dproj" /t:Build /p:OutDir="C:\Output\bin\"

Why is this happening?

Answer

JP Alioto picture JP Alioto · Jul 5, 2009

I know the docs say otherwise, but try OutputPath instead of OutDir.