Adding new features without modifying previous ones in same solution
I have deployed XSN with the help of WSP packages,utlizing powershelll commands.(for InfoPath forms)
I already have a SharePoint feature_1 working on my SharePoint site Deployed with PowerShell commands (WSP).
I know I can add one more feature and deploy the other XSN in the same solution.
However when I do this The previous feature get overwritten.If I try to exclude the feature 1 from the Sharepoint setup project and try to deploy only feature2 the feature 1 is completely removed.
Is there a way to keep adding features in the same solution and while deploying only the new feature gets activated and deployed,without harming/touching the previous features.
Thanks in advance.
June 28th, 2011 6:13am
Hi,
As a developer I think about what the project will consist of prior to packaging for deployment. Not only can a WSP hold multiple features but a feature usually has multiple modules. I will do interim builds to test each module and feature along the way.
Features are overwritten but if they are the same as the previous feature then I am not sure if there is an issue. I plan on deploying to DEV a few times to ensure when I hand over the WSP to OPS for the PRD deployment I dont get the WSP
back and everything works. Patrick Tisseghem,wrote a couple of articles on MSDN about the methods yiou can use to upgrade your existing code though I am not sure this is exactly what you are looking for.
-IvanIvan Sanders My LinkedIn Profile,
My Blog,
@iasanders.
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 10:14am
Have you tried Update-SPSolution(Powershell command)?
Hopw this will work for your problem.
June 28th, 2011 10:36am
Have you tried Update-SPSolution(Powershell command)?
Hopw this will work for your problem.
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2011 10:36am