Hi, I upgraded my project to .NET 8.0
And when I run optimize dbcontext, I received error:
'NpgsqlTimestampTzTypeMapping.NpgsqlJsonTimestampTzDateTimeOffsetReaderWriter' is inaccessible due to its protection level
Please see attact image

The command is:
ef dbcontext optimize -o OptimizedModels -n ProjectName.Infrastructure.OptimizedModels -c PrimaryApplicationDbContext
What can I do to fix this issue? Any workaround for this?