I am migrating from ASP.NET MVC 5 on .NET Framework 4.6 to ASP.NET Core on NetCoreApp1.1.
I'm getting these errors:
The type 'Enum' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
The type 'DateTime' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
I guess all kind of this error derived from assembly incompatible, anybody know how to fix this issue?
I did add the package Microsoft.NETCore.Portable.Compatibility
but no help.
Microsoft.NETCore.App
. Are you referencing that package? Can you post your project definition? – Nate Barbettinimscorelib
– VMAtm