title: msdeploy + setParameters.xml, how to set web physical file location
body: <p>This question has been danced around a bit, forgive me if it is a duplicate but I haven't been able to find an exact answer.</p>
  
  <p>I am trying to create a Parameters.xml for deployment configuration that specifies the destination physical file folder for a web site.  This is for an automated build using TeamCity, e.g. commandline using .deploy.cmd.  </p>
  
  <p>Can someone explain what I need to do?</p>
  
  <p>Parameters.xml:</p>
  
  <pre><code>&lt;parameter name="physicalPathLocation" description="Physical path where files for this Web service will be deployed." defaultValue="\" tags="PhysicalPath"&gt;
      &lt;parameterEntry kind="DestinationVirtualDirectory" scope="Default\ Web\ Site/iag\.application\.services\.exampleservice/" match="" /&gt;
  &lt;/parameter&gt;
  </code></pre>
  
  <p>And in SetParameters.xml</p>
  
  <pre><code>&lt;setParameter name="physicalPathLocation" value="C:\MyFolder\MySite" /&gt;
  </code></pre>
  
  <p>I suspect my problem is in how I am declaring the scope but am unsure what needs to be done.</p>