1

I try to use MSBuild to build a delphi project, but the problem that in the version 7 of delphi, there is no file with the extension .dproj is there any solution allow me to build it using MSBuild ?

1
  • Sure it can be done. But you'll need to define your own schema. Commented Oct 6, 2017 at 12:35

1 Answer 1

1

Delphi 7 did not produce the XML project files used by MS-Build. In order to use MS-Build to build Delphi 7 projects, you'd have to generate your own .dproj file in the proper format.

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).

Sign up to request clarification or add additional context in comments.

4 Comments

can you tell me what I have to do regarding the second problem please ?
I'm afraid I can't, because I've never needed to do it. I haven't used D7 for decades now. The oldest version I still have around is D2007, which supports MS-Build and has the proper format XML .dproj files.
I'm sure you don't need those assemblies. You can create a schema that invokes dcc32.
@David: Clarified what I meant in the second paragraph (which was better stated by your phrasing). Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.