I am looking for best practices for deploying frequent custom code changes to SharePoint 2010 server, my changes include all kind of changes like web parts, content types, workflows, feature receivers, pages images and scripts in layouts folder etc. So far what I have found in documentation is that WSP packages are recommended for deployments for SharePoint. I have few questions regarding frequent code changes using WSP packages
- Do we need to retract a WSP package before installing updated WSP package? What happens to previous code deployment through this package. Do we need to keep all previous changes in wsp package, so that when we retract and remove old version we get all code changes from previous version and new version.
- Keeping all the code changes in wsp package through various deployments can cause issues in case we have content type and list instances included in the package, how to manage this kind of changes?
- If we make new wsp packages for each iteration of changes, wont it clog my server with a a lot of wsp packages, one for each code change cycle?