I'm using MSBuild to build Delphi 2010 projects. It works fine. The only problem I have is that it creates 2 empty directories (Bpl and Dcp) in 开发者_JS百科drive's root directory.
Is there any way to prevent MSBuild from creating these directories?
This sounds like an issue with either the
Project|Options|Delphi Compiler|Output directory or Package output directoryconfiguration, or the
Tools|Options|Delphi Options|Package output directory or DCP output directory. You might check to see if you somehow have those set to the root of the drive or simply to .
FWIW, I use MSBuild from the commandline quite often, and I've never seen a DCP or BPL directory created anywhere I didn't specifically ask for them. I'm pretty sure this is simply a configuration issue in one of the path settings I mentioned above.
Seems like a Delphi bug to me. Have you contacted them regarding this?
精彩评论