Versioning a SharePoint feature
Is there a best practice for versioning SharePoint features?
Our SharePoint product gets a release every 3-6 months, and we need a way of clearly differentiating between the new version and the 开发者_JS百科old version. We also need to support simultaneous installations of the new and old feature so that clients may test the new stuff before deploying it.
Versioning Features is not supported in Sharepoint 2007. In Sharepoint 2010 you can Version Features like you normally would version assemblies.
See the following post for more details: Feature Versioning and Upgrades in SharePoint 2010
Here is a excellent webcast by Jeremy Thake on feature versiong and upgrade :
http://sharepointdevwiki.com/display/SPPodCasts/2010/06/22/SPWebCast+019+-+Deep+dive+into+feature+versioning+and+upgrade+support+in+SharePoint+2010
Check out chapters 8 and 9 of our free SharePoint development guidelines. We have been using this strategy successfully for the last few years in both SP2007 and SP2010.
精彩评论