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.
I need do dig into this a bit deeper, but this could have either of two causes:
Embarcadero intentionally wanting to stay backwards compatible with ancient msbuild
Embarcadero slacking upgrading to newer versions that have bugs fixed and newer features introcuced, while at the same time pushing their own clients to upgrade as they never fix anything in version N-1 or below
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
andFrameworkVersion
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.