Lee Zeitz

Lee Zeitz

  • 2.2k
  • 4
  • 302

C# WebApi in .net 8

Nov 18 2023 8:50 PM


It seems like many things are not working correctly in .net 8.

When I attempt to use the Microsoft template and add Microsoft.EntityFrameworkCore 8.0.0, it is successful. But when I attempt to add Microsoft.EntityFrameworkCore.SqlServer 8.0.0, I receive the message System.Windows.Extensions 6.0.0 is not compatible with net8.0. If I install System.Windows.Extensions 8.0.0, then I can install Microsoft.EntityFrameworkCore.SqlServer 8.0.0, but then an error is received that System.Runtime.CompilerServices.Unsafe doesn't support net8.0.

Is .net 8 prime time? Has anyone else encountered these issues?

Answers (2)