Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

The type "xxx" appears in both assemblies after updating to experimental .NET 4.6

Discussion in 'Experimental Scripting Previews' started by CodeLiftSleep, Jul 25, 2017.

  1. CodeLiftSleep

    CodeLiftSleep

    Joined:
    Jul 15, 2017
    Posts:
    44
    I updated to .NET 4.6 then in Visual Studio I see this:



    How do I remove an assembly reference?

    This happened once I switched over to the .NET 4.6 experimental version...
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,931
    Are you defining a type named ObservableCollection in the script code in your project somewhere? The fact that it shows up in the Assembly-CSharp-firstpass assembly indicate that might be the case, as that assembly is compiled from the script code in your project.
     
    Qbit86 likes this.