Reputation: 1232
I'm using Xamarin forms for Android, iOS, and UWP. but all my EF Models are in a separate Dot NET Standard project (called ERP.Common) to be used in another ASP.NET Core solution.
Moreover, I'm extended some class from ERP.Common project in my Xaamrin Forms project to implement private properties like implementing INotifyPropertyChanged for example. and it's works fine with Android project (not tested in iOS project) but I'm getting the following errors on UWP project.
Any ideas?
Cannot resolve Assembly or Windows Metadata file 'Type universe cannot resolve assembly: ERP.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.'
it works fine in UWP project if I create an object from the class Model without extending it. which make me sure that the DLL already registered successfully. I Think :)
And both targeting same .Net Standard version 2.0
Upvotes: 1
Views: 51
Reputation: 36
In my case, I've upgraded the version of .net standard to 2.0.3 and it works fine.
Upvotes: 2