I am following a tutorial around here: SharePoint Add-Ins

and of course before I get started following this tutorial I created a developer site, after I created the project and linked my developer site to the project.

while I am trying to compile I get these errors:

enter image description here


enter image description here

I have edited NewEmployeeOrientationComponents.feature.xml a new option which is AlwaysForceInstall="TRUE".

But still doesn't work and remain the same error.

Is there any possible solution to fix this error?

Thank you !

1 Answer 1


The error is complaining about the content of the elements file. Please see this page, which is the documentation for the listinstance xml element, which has an example of the content in this file. Note that the data element is inside of a ListInstance element, and is then inside of the Elements node. If this doesn't address your issue, please post the content of your elements file.

  • Thank you ! My mistake was that i put data element outside the listinstance xml element. @Mike2500
    – SmithBZ
    Sep 4, 2019 at 17:39

Your Answer

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

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