title: Set Version number of TFS Build in C# File
body: <p>Hy,</p>
  
  <p>is it possible to set the number of the TFS Build in a C# File?</p>
  
  <p>The TFS Build should replace the version number with the current one.</p>
  
  <blockquote>
    <p>public const string SERVICE_VERSION = "2.0 Build: 20130518.1";</p>
  </blockquote>
  
  <p>EDIT:
  The const is in a class called SharedMethods:</p>
  
  <blockquote>
  <pre><code>public static class SharedMethods 
  {
      public const string SERVICE_VERSION = "2.0 Build: 20130518.1";
      ...
      ...
  }
  </code></pre>
  </blockquote>
  
  <p>The TFS build should check out the element, update the version, check in the element and continue the normal build process.</p>