SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a new Content Type. How do I publish it using Update-SPSolution and feature upgrading?

I added the following Code to my Feature Manifest:

   <VersionRange BeginVersion="" EndVersion="">
         <ElementManifest Location="NewContentType\Elements.xml"/>
      <CustomUpgradeAction Name="UpdateVersion"/>

After Feature.Upgrade(bool) the ContentType is not installed.

share|improve this question

Assuming that the previous version was and NewContentType\Elements.xml contains the ContentType it should be ok.

If the previous version was anything by upgrading won't do anything as your version range specifies <= version <

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.