title: Setting the Value of Assembly Attributes programatically
body: <p>I want to be able to Set the Assembly 'Description' Attribute</p>
  
  <pre><code>[assembly: AssemblyDescription("")]  - from AssemblyInfo.cs
  </code></pre>
  
  <p>value of my Program based on some interaction done at runtime.</p>
  
  <p>I know I can read the value by doing:</p>
  
  <pre><code>object[] attributes;
  Assembly assembly = Assembly.GetExecutingAssembly();
  attributes = assembly.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
  string description = ((AssemblyDescriptionAttribute)attributes[0]).Description;
  </code></pre>
  
  <p>My question is:  Is there a way to set the value programmatically from within my form?</p>
  
  <pre><code>assembly.Attribute.Description = newvalue;
  </code></pre>