I have a script in an Editor folder, where I attempt to reference UnityEditor.ProBuilder, but it fails with:
The type or namespace name 'ProBuilder' does not exist in the namespace 'UnityEditor'
I managed to get around this by creating an asmdef, that itself references UnityEditor.ProBuilder.asmdef.
Is this the expected way of doing things? Could not find a documentation about this anywhere…