Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    316
    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:

    Dustin_00 and sonnyb like this.
  2. gekidoslayer

    gekidoslayer

    Unity Technologies

    Joined:
    Sep 27, 2016
    Posts:
    134
    on the asmdef, check 'override references' and then select the assembly from the dropdown below
     
    niuage, insomanx, forestrf and 8 others like this.
  3. Maeslezo

    Maeslezo

    Joined:
    Jun 16, 2015
    Posts:
    316