Skip to content

Build broken after upgrade from v1.10.2 to v2.0.2 #9

@deburau

Description

@deburau

Hi,

I am using a lot of MetadataType data annotaions in my project. After upgrading from v1.10.2 to v2.0.2 every usage of MetadataTypeAttribute gives me an error

Error CS0433 The type 'MetadataTypeAttribute' exists in both 'System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and 'vm.Aspects.Diagnostics.ObjectTextDumper, Version=2.0.2.0, Culture=neutral, PublicKeyToken=39c66c470a75c367'

I have not found a work around for this. I tried using fully qualified name like

[System.ComponentModel.DataAnnotations.MetadataType(typeof(InventoryCollectionTypeMetadata))]

and I tried removing

using vm.Aspects.Diagnostics;

but both without success.

Regards
Werner

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