title: XML Validation with XSD in Visual Studio IDE
body: <p>I know I have done this before, but it isn't working today, nor can I find anywhere that explains how to do it.  It could be my lack of sleep, but I suspect gremlins.  </p>
  
  <p>I have an XML document and a directory full of XSD's that define it.  How do I set the Visual IDE up to notify me of validation failures, and then provide an intellisense list of valid tags and attributes in a given context?  </p>
  
  <p>What I have tried:</p>
  
  <ul>
  <li>I've added the XSD's to the project with the XML document.  </li>
  <li>I've added the XSD's to the XML Schema list (under XML / Schemas... menu item.)  </li>
  <li>I've even included the schemaLocation and noNamespaceSchemaLocation attributes to the XML document.  </li>
  </ul>
  
  <p>Visual Studio still isn't giving up any useful debugging or editing information.  I tried both 2010 and 2008 (I've done it before in 2008 I thought)</p>
  
  <p><strong>Update:</strong> I had another developer try this and it failed for him too.  He knows he has done it with other XML documents and had it work.  I then downloaded Oxygen XML editor and it worked fine on the same XML and XSD files, so the files seem to be fine (or Oxygen is more forgiving / flexible . . . )</p>