1 year ago

#382144

test-img

John Dyer

.NET Core 6 microsoft.data.sqlclient 4.1.0 in runtimes\win\lib\netcoreapp3.1

I'm upgrading my application from .NET Core 3.1 to 6.0 and in the process moving the sqlclient from 2.0.0 to 4.1.0

I was expecting 4.1.0 version be in runtimes\win\lib\net6.0? From the debugger Modules I see it's still in runtimes\win\lib\netcoreapp3.1

Is there some other SQL Client package for .NET 6?

I've removed all the old .NET Core 3.1 bits from my application. I then ran it and looked again at the loaded modules. Everything points to the application being a full on .NET 6 application.

It's appearing that the location of the sqlclient is just weird or outright wrong: Microsoft.Data.SqlClient.dll C:\Temp\Dyer\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll 4.1.0.0

.net-core

nuget-package

0 Answers

Your Answer

Accepted video resources