Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have several content types defined in a custom feature. I have this feature working in both my dev & test environments. I needed to make some updates to the content types. When i deployed to my dev environment using Visual Studio, everything worked fine. When i packaged the feature in a WSP & deployed to my test environment, my content types were not updated (though all my other changes were deployed as expected).

What am i doing wrong?

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

Once your content type has been deployed you can only change it by:

  1. Use AddContentTypeField in FeatureUpgrading of your feature
  2. Code
  3. UI / SharePoint Designer

Just updating the xml for the content type will not work. Visual studio with it's conflict resolution will make you think it works, but it doesn't

share|improve this answer
    
Thanks. I feared that something like this had to be true, but i couldn't find any documentation one way or the other. –  Markus Mar 21 '12 at 18:11
add comment

Your Answer

 
discard

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.