Vs 2013 change version feature and upgrade the feature



I'm approaching the feature upgrade of sharepoint 2013, Well I create an empty project and create a feature to which I add to create a site column. Then deploy the wsp package and everything is ok it creates a site column named column10. Then I add a second column named "Column 20" and I go to the template file and add the feature



<? xml version = "1.0" encoding = "utf-8"?>
<Feature xmlns = "http://ift.tt/sQmbje" Version = "2.0.0.0">
<UpgradeActions>
<VersionRange EndVersion = "2.0.0.0">
<ApplyElementManifests>
<ElementManifest Location = "Colonna20 \ Elements.xml" />
</ApplyElementManifests>
</VersionRange>
</UpgradeActions>
</Feature>


where I insert the attribute version and UpgradeActions as you see above. I'm going to create the solution package and I do the update.I get moved all the xml files in the folder of the feature but I can not run the upgrade feature. Can you tell me how to make it run? Hello


No comments:

Post a Comment