Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
deburau opened this issue Oct 10, 2018 · 0 comments
Open

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

deburau opened this issue Oct 10, 2018 · 0 comments

Comments

@deburau
Copy link

deburau commented Oct 10, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant