简体   繁体   English

用MSBuild建立一个delphi 7项目

[英]build a delphi 7 project with MSBuild

我尝试使用MSBuild来构建delphi项目,但是问题在于在delphi的版本7中,没有扩展名为.dproj的文件,是否有任何解决方案可以让我使用MSBuild来构建它?

Delphi 7 did not produce the XML project files used by MS-Build. Delphi 7没有产生MS-Build使用的XML项目文件。 In order to use MS-Build to build Delphi 7 projects, you'd have to generate your own .dproj file in the proper format. 为了使用MS-Build来构建Delphi 7项目,您必须以正确的格式生成自己的.dproj文件。

It also did not come with the Borland assemblies necessary for use with MS-Build (which were placed in the %WINDIR%\\assembly\\GAC_MSIL folder in more recent Delphi installations), so you'd have to create your own schema that calls the Delphi compiler (both code and resource). 它还没有随附与MS-Build一起使用所需的Borland程序集(这些%WINDIR%\\assembly\\GAC_MSIL在最新的Delphi安装中位于%WINDIR%\\assembly\\GAC_MSIL文件夹中),因此您必须创建自己的架构,该架构调用Delphi编译器(代码和资源)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM