Search Unity

How do I add a .Net assembly reference in Unity?

Discussion in 'Scripting' started by maikklein, Aug 9, 2015.

  1. maikklein

    maikklein

    Joined:
    Jun 16, 2015
    Posts:
    33
    I want to synchronize different Unity editor with System.Messaging.

    I just put the System.Messaging.dll from
    in my project folder. Every thing compiles but if I try to run the following line in Unity

    Code (CSharp):
    1. if (MessageQueue.Exists("foo"))
    I get

    Any ideas?
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Looks like its built for .NET 3.5. Unity's version of Mono is only compatible with .NET 2.0.

    Or something like those numbers.