Howdy,
I have a complex sharepoint deploy with multiple EventReceivers and Workflows.
I also have schema changes to existing lists, adding new columns of metadata and changing existing columns.
Should I package a single feature, eventreceiver or workflow, to a single solution, or should I put multiple features inside the single solution since they all work together?
One major reason I am asking is for future code upgrades. If the features are seperated, then an upgrade in one portion of code would not require a re-deploy of all the features in the solution. Is this something I should worry about or does the "stsadmin -o upgradesolution" take care of any issues with the upgrade of a solution with many features?
Let me know if this makes sense to any SharePoint gurus out there.
Thank you,
Keith
Update: Looking at the website drax referenced, I found this reference site: http://msdn.microsoft.com/en-us/library/aa543659.aspx
This statement seems to put a large handicap on upgrading features in solutions:
Solution upgrade can only be used to replace files. You can add new files in a solution upgrade and remove old versions of the files, but you cannot install Features or use Feature event handlers to run code for Feature installation and activation. The following operations are not supported in solution upgrade.
Removing old Features in a new version of a solution.
Adding new Features in a solution upgrade.
Updating or changing the receiver assembly for existing Features in a new version of a solution.
Adding or changing Feature elements (Element.xml files) in a new version of a solution.
Adding or changing Feature properties in a new version of a solution.
Changing the ID or scope of old Features in a new version of a solution.
Removing Feature elements (Element.xml files) in a new version of a solution.
Removing Feature properties in a new version of a solution.
So... What can you do with a solution upgrade?