title: How do I configure MSBuild to use a saved publishProfile for WebDeploy?
body: <p>I have used Visual Studio to create a publish profile.  It saved that information to MyProject.Publish.xml, located in the root of my project directory.  </p>
  
  <p>I would like the MSBuild task that gets executed on my CI server to use that file as its base settings.  Ideally, if I could override properties via command line parameters, that would rock.</p>
  
  <p>Is this possible?  If so, what is the syntax?</p>
  
  <p>For example, I'm looking for something like: </p>
  
  <pre><code>MSBuild MyProject.csproj /P:UsePublishProfile=True /P:UserName=deployUser /P:Password=MyPassword
  </code></pre>