Previously I was having a class library targeting .Net Standard 1.4, but I upgraded it to .Net Standard 2.0 and also updated UWP class library to target SDK 16299 but on compiling the UWP Class library project it is giving below error:
The type 'DateTime' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
Seems like I am missing something, but can't actually figure out what it is, also tried modifying .csproject by adding below line but that also didn't worked.
<ItemGroup> <Reference Include="netstandard" /> </ItemGroup>