how to reference an enum from outside a built DLL

Right, so I’m trying to build a DLL in monodevelop for a package I want to upload to the asset store, but I have an enumeration in the unity project folder who’s values I want the user to choose themselves, while the rest of the code is hidden within the DLL thats trying to reference it.

Long story short, how do I reference a c# file outside of the monodevelop solution?

You can’t. You need to do it the other way around. Put the enum in the DLL with a public modifier in a public namespace. Then, when you import the DLL into Unity, you’ll be able to reference the enum.

If you can’t do it that way, you’ll have to use Reflection.