Skip to content

BUG: .dll dependency conflict in Unity 2021.2 #4

@Walter-Hulsebos

Description

@Walter-Hulsebos

com.solidalloy.type-references 2.11.4
Error CS0433: The type 'ReadOnlySpan' exists in both 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

image

com.solidalloy.generic-unity-objects 2.11.4
Runtime\Util\GeneratedUnityObjectCache.cs(56,96): error CS1061: 'AppDomain' does not contain a definition for 'DefineDynamicAssembly' and no accessible extension method 'DefineDynamicAssembly' accepting a first argument of type 'AppDomain' could be found (are you missing a using directive or an assembly reference?)

  • Suggested fix: use AssemblyBuilder.DefineDynamicAssembly, check for the project version using preprocessor directives.

Updating to Type References 2.11.5 impossible.
If I do I get the following errors:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions