title: Reporting Services 2008: manual deletion of an Attribute from an Entity problem
body: <p>I'm modifying my Report Model in Visual Studio (2008).
  If I refresh my dsv file (after changes to the underlying database), then manually reflect the same changes in the smdl file, it seems that any time I delete an Attribute from an Entity it somehow corrupts the ReportModel project.</p>
  
  <p>Deleting an attribute removes a reference like the following from the <code>&lt;IdentifyingAttributes&gt;</code> and <code>&lt;DefaultDetailAttributes&gt;</code> sections of the smdl file: </p>
  
  <pre><code>&lt;AttributeReference&gt;
    &lt;!--My Attribute--&gt;
    &lt;AttributeID&gt;G30ea3652-7f92-41d0-a25a-500c82317288&lt;/AttributeID&gt;
  &lt;/AttributeReference&gt;
  </code></pre>
  
  <p>And also removes the attribute itself:</p>
  
  <pre><code>&lt;Attribute ID="G30ea3652-7f92-41d0-a25a-500c82317288"&gt;
    &lt;Name&gt;My Attribute Name&lt;/Name&gt;
    &lt;DataType&gt;Integer&lt;/DataType&gt;
    &lt;Nullable&gt;true&lt;/Nullable&gt;
    &lt;SortDirection&gt;Descending&lt;/SortDirection&gt;
    &lt;Width&gt;4&lt;/Width&gt;
    &lt;Format&gt;g&lt;/Format&gt;
    &lt;EnableDrillthrough&gt;true&lt;/EnableDrillthrough&gt;
    &lt;ContextualName&gt;Merge&lt;/ContextualName&gt;
    &lt;ValueSelection&gt;Dropdown&lt;/ValueSelection&gt;
    &lt;Column Name="Blah" /&gt;
  &lt;/Attribute&gt;
  </code></pre>
  
  <p>I can't see how this would mess up the smdl file.</p>
  
  <p>Anyway, my question is: has anyone else had the same problem?
  If so, is there a way round it (aside from Autogenerating the smdl).</p>
  
  <p>Also, is there a reason for <strong>not</strong> Autogenerating?
  (I've been told not to by a colleague, but don't understand the motivation behind this)..</p>
  
  <p>Thanks in advance for your help,
  Pete.</p>