There is quite a bit to learn when it comes to [MSBuild], the new build engine inside [Delphi2007]
So I've been hunting around for a msbuild editor and I came across [MSBuildSideKick]. This is a really nice gui based editor for editing msbuild files.
Currently to open [Delphi2007] project files you have to tweak a file that gets installed by [Delphi2007] in one of the dotnet directories, on my system its C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
The file in question is Borland.Common.Targets. If you plan on modifying it, make sure you keep a backup of the file in question .
Inside the file is this piece of xml
<!--
========================================================================
Load Options File
Load a standard options file the user can define. This allows
users to store common paths and compiler options in a single
msbuild project to simplify the building of large projects with
many msbuild files.
========================================================================
-->
<Import Project="$(GlobalOptionFile)" Condition=" Exists('$(GlobalOptionFile)') "/>
You need to remove the xml comments so that you just have
<Import Project="$(GlobalOptionFile)" Condition=" Exists('$(GlobalOptionFile)') "/>
So following on from this blog post , here is the Delphi Project File buildthis.dproj in [msbuildsidekick]
I contacted the [msbuildsidekick] developers and they acknowledged that there was a bug with how imports where handled and they expect to release a patch soon.