ServiceStack.OrmLite.SqlServer.Data on .net4.8

Hi, I tried migrating a project from using ServiceStack.OrmLite.SqlServer to ServiceStack.OrmLite.SqlServer.Data so that it uses Microsoft.Data.SqlClient; (instead of system.data.sqlclient)

The project targets .net 4.8 and while the code shows no issue, but there is a build error on code:

private static readonly IOrmLiteDialectProvider DialectProvider = SqlServer2008Dialect.Provider;

Stating:

[CS0012] The type ‘IOrmLiteDialectProvider’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘ServiceStack.OrmLite, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null’.

Versions are up to the latest (15.13.2).

Same pice of code builds if the .net core or standard is selected as a project target.

Is this intended or is this an issue?

I could recreate this using just the line of code mentioned.

Best regards

All *.Data OrmLite packages only support ASP .NET Core.

Only way to use them on .NET Framework is with ASP .NET Core Framework *.Data.Core packages, i.e. ServiceStack.OrmLite.SqlServer.Data.Core in an ASP .NET Core Framework project.