I am working on xml and xsd files in VS 2010 but intellisense isn't working. Intellisense is working for the same files in VS 2008, however.
When I type '<xs:' options like "attribute", "complexType", "simpleType", or "element" do not appear.
Is there some difference between the VS 2008 and VS 2010 that I'm missing?
I add an xsd file to my solution. All the proper namespaces are generated automatically as such:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="XMLSchema2"
targetNamespace="http://tempuri.org/XMLSchema2.xsd"
elementFormDefault="qualified"
xmlns="http://tempuri.org/XMLSchema2.xsd"
xmlns:mstns="http://tempuri.org/XMLSchema2.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
</xs:schema>
The "xsdschema.xsd" is in the "C:\Program Files\Microsoft Visual Studio 10.0\xml\Schemas" directory.
There is a check mark in the "Use" column in the XML Schemas dialog box.