Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Add managed dll to an Assembly Definition

Discussion in 'Editor & General Support' started by Maeslezo, Nov 14, 2019.

  1. Maeslezo

    Maeslezo

    Joined:
    Jun 16, 2015
    Posts:
    208
    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

    upload_2019-11-14_15-22-8.png
     

    Attached Files:

    sonnyb likes this.
  2. mikew_unity

    mikew_unity

    Unity Technologies

    Joined:
    Sep 27, 2016
    Posts:
    127
    on the asmdef, check 'override references' and then select the assembly from the dropdown below
     
    sandolkakos, sonnyb and DmitryDzz like this.
  3. Maeslezo

    Maeslezo

    Joined:
    Jun 16, 2015
    Posts:
    208
    sandolkakos and assertor like this.
unityunity