在MOSS中定义网站模板时会牵涉到修改Onet.xml文件,在Visual Studio 2005中可以借助MOSS的XSD文件来辅助修改Onet.xml文件,

1 在Visual Studio 2005中打开Onet.xml文件
2 在根结点中增加xmlns:"http://schemas.microsoft.com/sharepoint"属性
3 打开Onet.xml属性窗口,单击Schemas属性,在打开的对话框中定位到c:\program files\common files\microsoft shared\web server extensions\12\TEMPLATE\XML,选中所有的XSD文件添加到Visual Studio 2005中
4 完成后编辑Onet.xml时会出现节点提示

本文引自MSDN Blog

相关文章:

  • 2022-12-23
  • 2021-06-18
  • 2021-08-24
  • 2022-12-23
  • 2022-02-11
猜你喜欢
  • 2022-01-21
  • 2021-10-04
  • 2022-02-05
  • 2021-09-25
  • 2021-11-14
相关资源
相似解决方案