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:
<UpgradeActions>
<VersionRange BeginVersion="1.0.0.3" EndVersion="1.0.0.4">
<ApplyElementManifests>
<ElementManifest Location="NewContentType\Elements.xml"/>
</ApplyElementManifests>
<CustomUpgradeAction Name="UpdateVersion"/>
</VersionRange>
</UpgradeActions>
After Feature.Upgrade(bool)
the ContentType is not installed.