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

Question Help With error CS1703: Multiple assemblies with equivalent identity have been imported

Discussion in 'Editor & General Support' started by JLoundy, Apr 27, 2022.

  1. JLoundy

    JLoundy

    Joined:
    Feb 28, 2020
    Posts:
    4
    Hey all,
    I'm trying to import a new package to my project but I get this error. Any ideas of how to solve it?

    error CS1703: Multiple assemblies with equivalent identity have been imported: 'C:\Users\user\Desktop\Projects\My project\Assets\Rainity\System.Windows.Forms.dll' and 'C:\Program Files\Unity\Hub\Editor\2021.3.1f1\Editor\Data\UnityReferenceAssemblies\unity-4.8-api\System.Windows.Forms.dll'. Remove one of the duplicate references.

    Any help would be appreciated.
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,735
    Seems pretty straightforward. Remove the one from Rainity?
     
  3. JLoundy

    JLoundy

    Joined:
    Feb 28, 2020
    Posts:
    4
    When this is done I end up with 4 new errors all to the effect of:

    Assets\Rainity\Scripts\SystemTray.cs(17,24): error CS0234: The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)

    Any ideas?
     
  4. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,735