Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

The problem about the AssemblyBuilder.defaultReferences

Discussion in 'Package Manager' started by watsonsong, May 23, 2019.

  1. watsonsong

    watsonsong

    Joined:
    May 13, 2015
    Posts:
    374
    I find the AssemblyBuilder.defaultReferences always include every assembly inside current project. Which make the generated dll has useless reference.
    Is there anyway to get away the defaultReferences?
    Rightnow I am try to specify the excludeReferences to avoid the error defaultReferences, but it seem friable for the code.
     
  2. jasons_unity

    jasons_unity

    Unity Technologies

    Joined:
    Dec 10, 2018
    Posts:
    12
    I believe the only way is with excludeReferences.