jpluimers / Conferences

Materials for the conferences that Jeroen Wiert Pluimers spoke on.
17 stars 15 forks source link

MSBuild in Delphi IDE #2

Open vdachev opened 5 years ago

vdachev commented 5 years ago

Hi,

I read your paper from 2014 about using MSBuild with Delphi. In case you hold that talk again in future, I think it's worth mentioning that Delphi IDE doesn't necessarily use the latest MSBuild version installed on the system.

I'm using Berlin and it seems to link to/execute MSBuild from .NET Framework v3.5 (or v.2.0) regardless of what the values of the FrameworkDir and FrameworkVersion environment variables are. So it's missing some of the goodies of MSBuild from the last... say 10 years, such as attributes (e.g. BeforeTargets, AfterTargets, etc), reserved properties (e.g. MSBuildThisFile, MSBuildThisFileDirectory, etc).

So, if one needs to use recent MSBuild features, they can do so from the command-line only.

jpluimers commented 5 years ago

Thanks for this: a really good suggestion.

I need do dig into this a bit deeper, but this could have either of two causes: