title: How to change File/Product version of DLLs in TeamCity using AssemblyInfo Patcher produced from a .net solution?
body: <p><strong>There are multiple c# class library (DotNet Core 2.1) projects and User Interface (WPF project) in my solution.</strong></p>
  
  <p>Let say a class library project properties have Assembly version 2019.1.15341.0:</p>
  
  <p><a href="https://i.stack.imgur.com/k3BQE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k3BQE.png" alt="Project 1 has Assembly version 2019.1.15341.0"></a></p>
  
  <p>Also, the same Assembly version is assigned to the user interface (WPF application):</p>
  
  <pre><code>[assembly: AssemblyVersion("2019.1.15341.0")]
  [assembly: AssemblyFileVersion("2019.1.15341.0")]
  </code></pre>
  
  <p><strong>In TeamCity, I have configured AssemblyInfo Patcher:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/TiuFg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TiuFg.png" alt="TeamCity AssemblyInfo Patcher"></a></p>
  
  <p><strong>I build the complete solution using TeamCity and the builds were successful:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/AaVIU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AaVIU.png" alt="Build Successful in TeamCity"></a></p>
  
  <p><strong>Now let's see the property of artifacts produced after Building the complete solution:</strong></p>
  
  <p><strong>1. Project 1 (Class library, DLL properties):</strong></p>
  
  <p><a href="https://i.stack.imgur.com/xjldX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xjldX.png" alt="project1.dll"></a></p>
  
  <p><strong>2. UserInterface (WPF project):</strong></p>
  
  <p><a href="https://i.stack.imgur.com/cPCld.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cPCld.png" alt="USER interface exe"></a></p>
  
  <p><strong>I see that the <code>UserInterface.exe's Version</code> has been changed by TeamCity according to it's <code>build counter</code> and <code>build vcs number</code>, but Why the <code>DLL's version</code> is not changed? Am I missing any steps? or anything else?</strong></p>
  
  <blockquote>
    <p>Any information I am missing please inform.</p>
  </blockquote>
  
  <p>The properties of EXEs seems fine as expected. The main concern is on the DLLs: It's property is not getting changed.</p>