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:

Dieser Artikel wurde für 1 Person hilfreich. Ist dieser Artikel hilfreich?