#What should be my Assembly Definitions setting if I need two assembly both references to each other?

1 messages · Page 1 of 1 (latest)

woven tree
#

I'm making an extension and trying to link both library together and I'm stuck at this Assembly Definitions setting.
If they're both reference to each other I'll get error like this

One or more cyclic dependencies detected between assemblies: Assembly-CSharp-firstpass, Assembly-CSharp, Assets/Scripts/Localization/Localization.asmdef, Assets/NovelEditor/Editor/rirunee.NovelEditor.Editor.asmdef,
wind pebble
#

You cannot make two assemblies both reference the other one.

woven tree
wind pebble
#

Structure your assemblies in a way that doesn't require circular dependencies 🤷‍♂️

wind pebble
woven tree
#

They're both imported library >:

wind pebble
#

Then why do you need them to know each other in the first place?
If they're imported, they should be self-contained anyway.

woven tree
#

One is a novelreader and other one is localization library.
I want to localize my visual novel :0