Skip to content

Error building with 6.0.100-preview.6.21376.2 #2178

@jonathanpeppers

Description

@jonathanpeppers

Context: dotnet/android#6131

Our build is hitting an error such as:

CSC : error CS1705: Assembly 'illink' with identity 'illink, Version=6.0.100.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Mono.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e' which has a higher version than referenced assembly 'Mono.Cecil' with identity 'Mono.Cecil, Version=0.11.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e'

I was able to reproduce this with dotnet new classlib and adding a class that uses:

<PackageReference Include="Microsoft.NET.ILLink" Version="6.0.100-preview.6.21376.2" />

.binlog included: foo.zip

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