Sorry for the late reply!
Can you please post the contents of the link.xml file that was generated?
There should not be a UnityEditor.UI namespace in that generated link.xml file, unless you have some type in the Preferred Types list that is in the UnityEditor namespace (which you shouldn’t, but maybe added by accident 🙂 ).