Where can I download the wss12.xsd file?
I am trying to edit a .webpart file and would like to add the schema to the properties for the file in VS 2005. However, in my 12 hive directory there is only a wss.xsd file and no wss12.xsd or anything resembling that.
Several forum posts make references to the wss12.xsd file but I can't find it on the web anywhere. Also, I have installed SharePoint 2007.
Not sure if it will help you at all, but I did find a number of results from a google search for "wss12.xsd" pointing to the following path:
\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss12.xsd
I also can't find the wss12.xsd file on my harddisk.
I choosed the wss.xsd file and Intellisense works fine.
I think the wss12.xsd file isn't there any more since RTM...
That would be fine except that the wss.xsd does not contain a schema for the .webpart file and other schemas for the deployment.
Do you know of any file that has the schema for webpart files?
I've no issues creating and deploying webparts.
To create a webpart I do the following:
- Open VST2005
- select File->New->Project... under Visual C#: SharePoint -> Web Part Template
To deploy a webpart I press the magic F5 Button ;-)
And that's what VST2005 does automatically:
- VST2005 compiles the webpart => WebPart.dll
- VST2005 creates a solution => WebParr.wsp
- VST2005 activates the feature(s) in the WebPart
- VST2005 does an IISReset
That's it.
Did you try that?
Still, I need to set property defaults in the webpart via the .webpart file.
So, how can I get the schema for the .webpart file. We have alot of custom web parts and will e deploying them in a single wsp along with some features, etc. I would like to edit the .webpart file and change the title on the webpart or customize the default properties. To do this I need to schema for the file.
Please tell me where I can find the schema for .webpart files. Thanks!