title: MSBuild /t:pack Nuget-Package has always the same Version
body: <p>I am creating a nuget-package with <code>/t:pack</code> in my TFS-Build. I can't the use Nuget-Pack-Step, because I am using </p>
  
  <pre><code>&lt;TargetFramework&gt;netstandard2.0&lt;/TargetFramework&gt;
  </code></pre>
  
  <p>How can I apply my <code>AssemblyVersion</code> on the Nuget-Package? Because my Assembly-Version is right, but my Nuget version always remains <code>1.0.0.0</code>.</p>
  
  <p>Note I am using a C# file for my assembly information instead of the <code>.csproj</code> file.</p>
  
  <p>Is there any possibility to it?</p>
  
  <p>Want to share that <a href="https://qanda.tech/tfs/12989/msbuild-t-pack-nuget-package-has-allways-the-same-version" rel="noreferrer">link</a>.</p>