A place for Sharepoint and rantings
WSS – CAML and XSD schemas
If you developing List Schemas drop what your doing and go and install this.
It is an expanded wss.xsd file containing a lot of descriptions and possible default values. When coding in Visual Studio using this will alter the schema defs and give you uber intellisense on your schema files.
If you already use wss.xsd in Visual Studio you will need to remove your reference.
Now if you forgot how you did that then the usual way I found of configuring it was to goto
C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas
(or equivalent for your platform)
An to create a file called wsscatalog.xml, you may have called it something else but it contains xml like this
1: <SchemaCatalog xmlns="http://schemas.microsoft.com/xsd/catalog">
2: <Schema href="%CommonProgramFiles%/Microsoft Shared/web server extensions/12/TEMPLATE/XML/wss.xsd"
3: targetNamespace="http://schemas.microsoft.com/sharepoint/" />
4: </SchemaCatalog>
So go and remove that before installing this version as it won’t remove it for you and Studio can fight over things if you don’t or just not work at all as was my case.
| Print article | This entry was posted by Binaryjam on February 10, 2009 at 11:30 am, and is filed under Sharepoint. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |