title: How does MSBuild find the Delphi search path?
body: <p>If I launch the RAD Studio command prompt and run </p>
  
  <pre><code>msbuild /t:Rebuild
  </code></pre>
  
  <p>in a project directory, msbuild will show the full command line to invoke dcc32, including all path settings. </p>
  
  <p>Which kind of magic does MSBuild use to find the search paths, based on the IDE settings (stored in the registry) and the project file (which contains placeholders like $(DCC_UnitSearchPath)?</p>
  
  <p>The RAD Studio command prompt only sets the .Net environment for MSBuild. So there is something else working behind the scenes?</p>