Skip to content

There was a conflict between mscorlib 4.0.0.0 and 2.0.5.0 #389

@pici-masp

Description

@pici-masp

Using Grial Starter - Gorilla Ready with Grial 2.6.9.0.

If I build Droid project with VS 2017 15.6.2 i get the following warning but build is successful.

There was a conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"

Using visual studio appcenter CI with Mono Version 5.4.1 does not build with error:

CSC : error CS1703: Multiple assemblies with equivalent identity have been imported: '/Library/Frameworks/Mono.framework/External/xbuild-frameworks/MonoAndroid/v1.0/mscorlib.dll' and '/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/4.5/mscorlib.dll'. Remove one of the duplicate references. [/Users/vsts/agent/2.129.1/work/1/s/liberry.Droid/liberry.Droid.csproj]

I tried updating all nuget packages hoping this resolves the issue but for the android project I always get collection is readonly error. For now I gave up because nothing seemed to work updating nuget packages.

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