C#C
C#3y ago
scac

❔ DateOnly is not available in .net6.0 for me

I had to add these to make it available:
    <FrameworkReference Include="Microsoft.NETCore.App" />
    <PackageReference Include="System.Runtime" Version="4.3.1" />

But now I'm getting warnings that these aren't necessary because they're implicitly referenced. What could be happening that I need to add them?
Was this page helpful?