title: "Could not reformat the document" in ASP.NET, VS2008
body: <p>I'm in an <strong>ASP.NET UserControl</strong>.  When I type Control-K, Control-D to reformat all the markup, I get a series of messages from VS 2008:</p>
  
  <p>"Could not reformat the document.  The original format was restored."</p>
  
  <p>"Could not complete the action."</p>
  
  <p>"The operation could not be completed.  The parameter is incorrect."</p>
  
  <p>Anybody know what causes this?</p>
  
  <p><strong>Edit</strong>: OK, that is just...weird.</p>
  
  <p>The problem is here:</p>
  
  <pre><code>&lt;asp:TableCell&gt;
    &lt;asp:Button Text="Cancel" runat="server" ID="lnkCancel" CssClass="CellSingleItem" /&gt;
  &lt;/asp:TableCell&gt;
  </code></pre>
  
  <p>Somehow that asp:Button line is causing the problem.  But if I delete any individual attribute, the formatting works.  Or if I add a new attribute, the formatting works.  Or if I change the tag to be non-self-closing, it works.  But if I undo and leave it as-is, it doesn't work.</p>
  
  <p>All I can figure is that this is some sort of really obscure, bizarre bug.</p>