title: How to update the Value in Assemblyinfo.cs dynamically
body: <p>I have writen a program which gets the value from SVN repository . Now I want to update the AssemblyFileversion with that value.</p>
  
  <p>As I am not able to write any code inside Assemblyinfo.cs , how will I update the value of AssemblyFileVersion.</p>
  
  <p>I want to achieve something like this</p>
  
  <pre><code>..........................
  // Version information for an assembly consists of the following four values:
  //
  //      Major Version
  //      Minor Version 
  //      Build Number
  //      Revision
  //
  // You can specify all the values or you can default the Build and Revision Numbers 
  // by using the '*' as shown below:
  // [assembly: AssemblyVersion("1.0.*")]
  
   SvnInfoEventArgs info;
                      Uri repoURI = new Uri("ServerAddress");
                      svnClient.GetInfo(repoURI, out info);
  
  
  [assembly: AssemblyVersion("1.0.0.0")]
      [assembly: AssemblyFileVersion(String.Format("{0}.{1}.{2}. {3}",
                                            major,minor,build,info.Revision))]
  </code></pre>