Skip to content

NuGet package broken in Unity 2021.3.6f1 #420

@fdorothy

Description

@fdorothy

I'm trying to install the NuGet package Microsoft.ML.Probabilistic.Compiler in Unity 2021.3.6f1 via NuGetForUnity (https://github.com/GlitchEnzo/NuGetForUnity). I am seeing the following errors immediately after installing:

`Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\AotStubWriter.cs(18,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\AotPreBuilder.cs(31,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\AotPreBuilder.cs(305,17): error CS0433: The type 'CodeCompileUnit' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\AotPreBuilder.cs(368,54): error CS0433: The type 'CodeCompileUnit' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\ConstructorInfoStubWriter.cs(12,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\AccessorInfoStubWriter.cs(13,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\FieldInfoStubWriter.cs(18,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\MethodInfoStubWriter.cs(13,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Platforms\MethodInfoStubWriter.cs(136,51): error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
`

It looks like the depedency Systyem.CodeDom is conflicting with the system libraries?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions