title: Can MSBuild exclude "Hidden" Web Deploy parameters from the generated SetParameters.xml?
body: <p>In my <strong>Parameters.xml</strong> file, I have a couple of parameters that use the Web Deploy "variable" syntax to refer to other parameters, like this one that refers to the <code>IIS Web Application Name</code> parameter:</p>
  
  <pre><code>&lt;parameter name="MyParam"
             defaultValue="{IIS Web Application Name}/Web.config"
             tags="Hidden"/&gt;
  </code></pre>
  
  <p>My problem is that VS automatically imports this parameter into my <strong>SetParameters.xml</strong> file when I build the deployment package in spite of it being tagged as hidden.  When it is passed to msdeploy via <code>setParamFile</code>, Web Deploy literally interprets the value of the parameter as</p>
  
  <pre><code>{IIS Web Application Name}/Web.config
  </code></pre>
  
  <p>rather than substituting the IIS application name.</p>
  
  <p>If I <em>remove</em> the parameter from the auto-generated <strong>SetParameters.xml</strong> file, the variable works as expected.  Is there any way to prevent VS from including that parameter in the first place, either by name or by tag?</p>