Tuesday 13 September 2011

How to prevent the Features to activate when you debug/deploy from Visual Studio (Active Deployment Configuration)

By default, when you deploy/debug a feature, the feature is activated automatically, how to prevent that?, follow the steps:

1- Right Click into your project->Properties:

image

2- Go to Sharepoint

image

3- Select No Activation in the Active Deployment Configuration:

image

Conclusion: This tool is really useful to prevent our feature to crash, we can always create our new profile and add the actions we think are necessary for our project.

Enjoy!

No comments: