简体   繁体   English

Sharepoint WSPBuilder 功能更新

[英]Sharepoint WSPBuilder Feature Update

I have two webparts that currently have the default "MyGroup" property in the elements.xml file.我有两个 webpart,当前在 elements.xml 文件中具有默认的“MyGroup”属性。 I'm simply trying to change these values to something more descriptive by updating both the Group and QuickAddGroups property values;我只是试图通过更新 Group 和 QuickAddGroups 属性值来将这些值更改为更具描述性的值; rebuildng my dll, uninstalling from WSPBuilder and then re-deploying (using WSPBuilder).重建我的 dll,从 WSPBuilder 卸载,然后重新部署(使用 WSPBuilder)。 However, this does not seem to work.但是,这似乎不起作用。 I still see the old property group listed.我仍然看到列出的旧属性组。 I've also tried manually deleting the webpart from the webpart gallery page to no avail.我还尝试从 webpart 库页面手动删除 webpart,但无济于事。 What do I need to do?我需要做什么? Is there an stsadm command that I should run, perhaps -uninstallfeature or -deactiveatefeature?是否有我应该运行的 stsadm 命令,也许是 -uninstallfeature 或 -deactiveatefeature?

Aside from making sure you get it right the first time, manually deleting the web part from the gallery is probably your best option.除了确保您第一次做对之外,从图库中手动删除 web 部分可能是您的最佳选择。

If that doesn't work, it may just be the ordering - try deactivate the feature, delete the web part, then activate it again.如果这不起作用,可能只是订购 - 尝试停用该功能,删除 web 部分,然后再次激活它。 Also check that the elements.xml in the 12 hive contains what you expect - occasionally these things refuse to update for no apparent reason.还要检查 12 hive 中的 elements.xml 是否包含您所期望的 - 有时这些东西会无缘无故拒绝更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM