Add managed dll to an Assembly Definition

Hello,

I have downloaded the Moq library and its dependencies for testing, and I would like to add all of these dlls to an Assembly Definition.
Is this possible?

I know you can do this with scripts, if the scripts are in the same folder, the will be in that assembly, but I don’t know if something like that could be done with dll’s

Thank you

5174924--513617--upload_2019-11-14_15-21-14.png

2 Likes

on the asmdef, check ‘override references’ and then select the assembly from the dropdown below

12 Likes

I was doing that, but the plugins remained referenced in the main assemby.

I was missing to uncheck “Auto Reference” in the dlls

https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html

Thank you!

3 Likes