How to Solve Error: Element ‘dependency’ cannot have character [children], because the type’s content type is element-

The phenomenon is as follows:

The reason:
It’s when you copy it, you bring some special symbols.
Solution:
Copy that string of code to NotPad ++ or text, and then copy it into your compiler, and you’ll solve the problem


Read More: