title: MSBuild Error : MSBUILD : error MSB1009: Project file does not exist
body: <p>I am very new to MSBuild environment and while trying to build one of the application that I am working on, I am following some instructions. By following the instructions written in the application documentation, I was able to build a command which looks like below:</p>
  
  <pre><code>msbuild /t:Harvest;WIX setup.build;  /P:publish_location="C:\Installer";product_file="C:\Temp\ServiceHost.dll";product_id="1.0"
  </code></pre>
  
  <p>But when I run the command, it throws following error:</p>
  
  <blockquote>
    <p>MSBUILD : error MSB1009: Project file does not exist.</p>
  </blockquote>
  
  <p>Which raises a lot of questions:</p>
  
  <ol>
  <li>There is no parameter named Project here. I am not sure why it is failing on that particular parameter?</li>
  <li>what does "/t:Harvest;WIX" mean?</li>
  <li>Normally msbuild command refers to .sln or .csproj file but the documentation that I am referring to particularly wants me to refer to .Dll file so I did. Am I right in doing so?</li>
  <li>How can I solve this error?</li>
  </ol>
  
  <p>Just for reference below is the documentation that I am referring to:</p>
  
  <blockquote>
    <p>This solution is only includes an installer.  In order to create an
    MSI with this solution by hand, you need to bring up a visual studio
    command prompt, navigate to the setup.build location of the Installer
    project and type the following command: (where the publish location is
    replaced by the current publish location, product_id is replaced with
    current product_id, and product_file is the file you want to pull the
    version from) msbuild /t:Harvest;WIX setup.build
    /p:publish_location="location";product_file="Matchbox.Management.ServiceHost.dll";product_id="xxxxxxxxxxxx"</p>
  </blockquote>