© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
111 replies
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" />
    <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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Microsoft.Data.SqlClient is not supported on this platform - .net6.0+ EF 6.0.0
C#CC# / help
4y ago
✅ DateOnly.TryParse Vs DateOnly.TryParseExact use cases
C#CC# / help
11mo ago
❔ Net6.0 Web API Swagger Error 404
C#CC# / help
3y ago