MSI Import Error
“Assembly contains property schemas, deployment/removal of which would cause certain document schemas property definitions to become invalid.”
This blog describes what this error means and how to fix it. I had exported an existing application from BizTalk Server as an MSI and then deleted the application. Attempting to import an MSI into BizTalk Server again creates the error. What is special about this application that is causing this error?
Invalid schemas property definitions
The application contains only schemas and two property schemas but recompiling the solution and redeploying that assembly yields the same error.
Next I deleted and then recreated the two property schemas in the solution from scratch. This time after recompilation, redeployment occurred without error. Why did recreating the property schemas and recompiling fix my deployment problem?
Comparing the before and after property schemas the only one difference was that the guid circled in the diagrams below had changed.
Is there another version of property schema with the same property guid? Yes there and it is shown below. Although this increments the namespace version this is not good enough for the BizTalkAssemblyResourceManager.
In conclusion if you have two different versions of the same property schema all the properties must have unique guids or else you will get.“Assembly contains property schemas, deployment/removal of which would cause certain document schemas property definitions to become invalid.”