Delphi Launches Under TFS MSBuild

Want to create and test a bunch of Borland Delphi 6 projects that integrate with ASP.NET services. Used WANT and CruiseControl to create Delphi. With the TFS build agent, we can bind everything together and do some testing. I am looking for guidance and guidance.

One of the problems that I see is that in the Delphi project there is no "solution" for MSBuild like "<" SolutionToBuild →.

<SolutionToBuild Include="There is no such thing as a Delphi.sln"> <Targets></Targets> <Properties></Properties> </SolutionToBuild> 

In addition, I have links to <UsingTask >, but I'm a little unsure how to use them. <UsingTask > allows you to run a custom task to compile the Delphi command line.

Your guidance will be appreciated.

+4
source share
2 answers

You can use MSBuild to launch the Delphi command-line compiler. It has been a while, but I'm sure the IDE supports command line compilation or there is a standalone compiler that can be run from the command line. In any case, you need to create a <Exec > task that launches the corresponding command-line tool with the required parameters.

When you say that you have "links to <UsingTask >", do you mean that you are importing an external MSBuild task? The <UsingTask > element is used to perform the custom MSBuild task, which is located in an external assembly (DLL). When a task is imported, you use it just like any other built-in task.

+1
source

Can you upgrade? Delphi 2006+ uses MSBuild by default. Nothing to customize.

+1
source

All Articles