Here is my bat file.
call "C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin\rsvars.bat"
msbuild.exe C:\Work\Project1.dproj /t:Rebuild /p:Config=Debug;Platform=Win32
This seems to work well; however, it's taking 12 minutes to build. That same configuration/platform combination takes 2 mins 30 secs when doing a full build in the IDE. I've been unsuccessful in locating the cause of the slowdown. Any ideas or settings I should be looking at?
EDIT: I was using IDEFixPack 5.3 and getting build times ~2.5 mins. Removing IDEFixPack results in 12 min builds in the IDE as well.
Per David Heffernan's suggestion I removed IDEFixPack and I see the same 12 min build times as I do with msbuild.
I guess there are some packages for which the IDE somehow can find the compiled dcu's in the path and MSBuild can only find the source.
Doesn't MSBuild output a compilation log that you can examine or post here?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With