I am trying to make Intellisense work for my XML files but unable to do so. In the properties of my XML files I have specified wss.xsd
in Scehmas
attribute. But still no suggestions for tag or attributes show up while editing XML file. I followed the steps suggested in this answer on StackOverflow.
And the strange thing is that I cannot edit my Schemas
attribute for properties for XML file. It always includes these XSD files:
C:\Program Files (x86)\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\CamlQuery.xsd
C:\Program Files (x86)\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\camlview.xsd
C:\Program Files (x86)\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\coredefinitions.xsd
C:\Program Files (x86)\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\cui.xsd
C:\Program Files (x86)\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\wss.xsd
C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\CamlQuery.xsd
C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\camlview.xsd
C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\coredefinitions.xsd
C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\cui.xsd
C:\Program Files\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\wss.xsd
If I unmark the schemas from Use
column, click on OK button and again option the dialog the schema is again checked.
I addition I can see errors in my XML file like The attributeGroup 'http://schemas.microsoft.com/sharepoint/:invocationTagAttributeGroup' has already been declared.
which I believe is because of so many CSD files as schemas.
Does anyone know why is this happening?
I am using SharePoint 2013 and Visual Studio 2013 Ultimate edition.