Compiler error - Type exists in multiple assemblies

If you receive this compiler error:

Library\PackageCache\com.unity.visualeffectgraph@7.4.3\Editor\Models\Blocks\Implementations\Orientation\Orient.cs(338,31): error CS0433: The type 'InvalidEnumArgumentException' exists in both 'System.Private.ServiceModel

Open System.Private.ServiceModel.dll in Unity Inspector (Assets/game4automation/private/Interfaces/OPCUA4UNITY/private/System.Private.ServiceModel.dll)

Change the assembly definition as shown in this picture - Auto Reference needs to be turned off:

Image 260

This article was helpful for 3 people. Is this article helpful for you?