Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unable to add reference to external project

Discussion in 'Scripting' started by Nozdrum, Oct 30, 2015.

  1. Nozdrum

    Nozdrum

    Joined:
    Jul 7, 2014
    Posts:
    1
    I have this very simple setup.
    I created, with MonoDevelop, a new Solution .Net Version 3.5. Added a class within the namespace GameLogic. I build this project, again in MonoDevelop, and it spouts out a dll file.

    Then I go into the solution that got created by unity. I add a reference to this dll. I see the reference in the reference list.

    I go into a behavour class and write

    using GameLogic;

    MonoDevelop complains that it can not find this namespace and it also does not compile. Now what do I have to tell MonoDevelop to behave like a reasonable compilersuite.
     
  2. Duugu

    Duugu

    Joined:
    May 23, 2015
    Posts:
    241
    I guess you'll have to add you dll to the Assets folder of you Unity project.