title: How to specify Publish Version in Devenv?
body: <p>I am totally new in building Visual Studio Project through a script, so feel free to correct me if you feel that my understanding about the process is incorrect.</p>
  
  <p>I have a visual studio solution which consists of a Wpf.exe project and few class library projects.</p>
  
  <p>Currently I am successfully building <code>.sln</code> file using script below</p>
  
  <p><code>"%VS_IDE_DIR%devenv.com" "...Solution-File-Path.sln" /rebuild Release /useenv</code></p>
  
  <p>Currently the <code>Wpf.exe</code> file gets the <code>File Version</code> and <code>Product Version</code> <code>1.0.0.0</code> which is the default specified in <code>Publish -&gt; Publish Version</code> Property of Wpf project.
  <img src="https://i.stack.imgur.com/CCztA.jpg" alt="enter image description here"></p>
  
  <p>I want to somehow set the <code>File Version</code> and <code>Product Version</code> through my script. How can I achieve that? </p>
  
  <p>I have an <code>environment variable</code> which contains the <code>Product Version</code> and <code>File Version</code>, Basically I want to set value of Product Version and File Version equal to my environment variable.</p>