0

I used the example from the Microsoft site. I used the 2019 and Online option and added nothing extra to the project. I packaged and published the web part. I was able to deploy it to our companies SharePoint Online app catalog with no issues. I then took the exact same package and tried to add it to the Application Catalog on one of our clients 2019 On Prem environments and the package does not decompile properly. I expected the web part to deploy the same as the SP Online environment.

The App Package error message is

There were errors when validating the App manifest.: Xml Validation Exception: 'The 'IsClientSideSolution' attribute is not declared.' on line '1', position '240'., 
Xml Validation Exception: 'The element 'Properties' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest' has incomplete content. List of possible elements expected: 'StartPage' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest'.' on line '1', position '320'., 
Xml Validation Exception: 'The element 'App' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest' has incomplete content. List of possible elements expected: 'AppPrincipal' in namespace 'http://schemas.microsoft.com/sharepoint/2012/app/manifest'.' on line '1', position '333'.

My .yo-rc.json file has the environment set to "onprem19"

The AppManifest.xml has the attribute IsClientSideSolution="true"

I have not seen any suggestions that have yet to solve my issue. I have seen the GitHub Page that talks about some items but I am still experiencing the issue.

Any assistance would be greatly appreciated

  • The links to the Microsoft site and Github page did not come through correctly. Correcting them would help people in understanding your question. – Rob Windsor Oct 31 '19 at 18:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.