|
#1
|
|||
|
|||
Multiple versions of Delphi, cannot build
Hi,
I have both Delphi 2007 and Delphi 2009 installed. On my PC, I have a VBP project for Delphi 2009 and it compiles just fine. However, a Delphi 2007 just won't build. At first, I got an error from msbuild saying " DebugVN " wasn't valid, so I modified " Borland.Delphi.Targets " in the MS.Net Framework folder and removed that entry. Now I get compiling errors, while the project compiles just fine in the Delphi 2007 IDE. I get the impression it's using Delphi 2009 instead of 2007. Anyone got any clues? With regards, Martijn Tonies Upscene Productions |
#2
|
|||
|
|||
For the Delphi 2007 step, you will need to specify the location of rsvars.bat for that version of Delphi, and possibly the full path+filename for msbuild.exe (if an older version is needed), on the Options tab of the Make Delphi action.
http://www.kinook.com/VisBuildPro/Ma...optionstab.htm |
#3
|
|||
|
|||
Quote:
I checked the Help for a Delphi step, but couldn't find anything related to other Delphi versions on the first Help page there. Can I suggest you put a paragraph "Compiling with a different Delphi version" in it that points to the rsvars setting with a short explanation? Few more questions: It seems that the Delphi step cannot find build configurations in the project file for D2007, is that a known issue? Can I do that rsvars thingy for the whole project so that I do not have to do it in every Delphi step? Thanks. |
#4
|
|||
|
|||
Quote:
Quote:
Quote:
|
#5
|
|||
|
|||
btw, can you detect installed Delphi versions and provide a drop down box instead of the thing with "rsvars"?
See attached, just the project, Delphi picks up the build config, VBP doesn't. Quote:
With regards, Martijn Tonies |
#6
|
|||
|
|||
Quote:
Quote:
Thanks. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|