title: MSB3073 'command' exited with code 9009
body: <p>Whenever I execute this command it throws error MSB3073 with code 9009</p>
  
  <pre><code>$(WixPath)heat dir $(Publish) -dr INSTALLFOLDER -ke -srd -cg DatoCheckerWebComponents -var var.publishDir -gg -out $(WebSiteContentCode)
  </code></pre>
  
  <p>The entire build file is here:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
      &lt;PropertyGroup&gt;
          &lt;WebSiteSource&gt;..\DatoCheckerMvc\&lt;/WebSiteSource&gt;
          &lt;SetupF&gt;..\Setup\&lt;/SetupF&gt;
          &lt;PublishF&gt;publish\&lt;/PublishF&gt;
          &lt;Publish&gt;$(SetupF)$(PublishF)&lt;/Publish&gt;
          &lt;WebSiteContentCode&gt;WebSiteContent.wxs&lt;/WebSiteContentCode&gt;
      &lt;/PropertyGroup&gt;
  
      &lt;!-- Defining group of temporary files which is the content of the web site. --&gt;
      &lt;ItemGroup&gt;
          &lt;WebSiteContent Include="$(WebSiteContentCode)" /&gt;
      &lt;/ItemGroup&gt;
  
      &lt;!-- The list of WIX input files --&gt;
      &lt;ItemGroup&gt;
          &lt;WixCode Include="Product.wxs" /&gt;
          &lt;WixCode Include="$(WebSiteContentCode)" /&gt;
      &lt;/ItemGroup&gt;
  
      &lt;Target Name="Build"&gt;
          &lt;!-- Compile whole solution in release mode --&gt;
          &lt;MSBuild
              Projects="..\DatoCheckerMvc.sln"
              Targets="ReBuild"
              Properties="Configuration=Release" /&gt;
      &lt;/Target&gt;
  
      &lt;Target Name="PublishWebsite"&gt;
          &lt;!-- Remove complete publish folder in order to be sure that evrything will be newly compiled --&gt;
          &lt;Message Text="Removing publish directory: $(SetupF)"/&gt;
          &lt;RemoveDir Directories="$(SetupF)" ContinueOnError="false" /&gt;
          &lt;Message Text="Start to publish website" Importance="high" /&gt;
          &lt;MSBuild
              Projects="..\\DatoCheckerMvc\DatoCheckerMvc.csproj"
              Targets="ResolveReferences;_CopyWebApplication"
              Properties="OutDir=$(Publish)bin\;WebProjectOutputDir= $(Publish);Configuration=Release" /&gt;
      &lt;/Target&gt;
  
      &lt;Target Name="Harvest"&gt;
          &lt;!-- Harvest all content of published result --&gt;
          &lt;Exec Command='$(WixPath)heat dir $(Publish) -dr INSTALLFOLDER -ke -srd -cg DatoCheckerWebComponents -var var.publishDir -gg -out $(WebSiteContentCode)'
              ContinueOnError="false"
              WorkingDirectory="." /&gt;
      &lt;/Target&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p>The command I use to call this build is:</p>
  
  <pre><code> msbuild /t:Build;PublisWebsite;Harvest setup.build
  </code></pre>
  
  <p>What am I supposed to do?</p>