I am compiling a DLL for Unity with Visual Studio Community 2019. I am using Odin Inspector in Unity, therefore i referenced Sirenix.OdinInspector.Attributes in VisualStudio/assemblies. After compiling the DLL and using or opening the DLL in Unity i can see that the (odin) attribute [HideReferenceObjectPicker] was removed from the compiled code.
Is there a way to keep this attribute in the compiled DLL?