Most likely, it will be related to LINQPad including newer versions of some of those dependencies. In any case, the driver seems to work correctly now, and scripts that reference the NuGet package will work when Microsoft.Data.SqlClient 6.0.0 becomes RTM.
Note that as an alternative to referencing "~/Library/Application Support/LINQPad/8.101.8/L2S/Microsoft.Data.SqlClient.dll", you can tick the checkbox "Reference LINQ-to-SQL assemblies" in Query Properties > Advanced.
@gordy - can I get you to do one more thing: try again under .NET 6 (choose .NET 6 in LINQPad's .NET dropdown on the toolbar - you may need to install .NET 6). If this works correctly with the Microsoft.Data.SqlClient 5.2.x NuGet package reference, we likely have a more serious problem (a bug in Microsoft.Data.SqlClient which we need to report to Microsoft). If this is the case, we'll need a MRE that will work the dotnet command-line:
Run this with dotnet run - with TargetFramework set to net8.0 or net9.0, and then again with net6.0. If it fails under .net 8 but succeeds under .net 6, we have the info we need for MS to fix it.
I installed this on my M2 Macbook Pro running latest Sonoma and it crashes on startup. I have submitted a bug report. I tried to enter my email address into the crash report form but I only managed to get the first letter or two in the box. The error was something about nto being able to give focus to the application.
I should say I am using VoiceOver. I used LinqPad for years a good while ago o Windows. Since then I've moved to Mac and gone blind (not related). So I was excited to hear that LinqPad had come to Mac.
So I'm wondering if it is accessible with screen readers?
Comments
there are a lot of differences, see attached the assembly resolution log from both runs.
Most likely, it will be related to LINQPad including newer versions of some of those dependencies. In any case, the driver seems to work correctly now, and scripts that reference the NuGet package will work when Microsoft.Data.SqlClient 6.0.0 becomes RTM.
Note that as an alternative to referencing "~/Library/Application Support/LINQPad/8.101.8/L2S/Microsoft.Data.SqlClient.dll", you can tick the checkbox "Reference LINQ-to-SQL assemblies" in Query Properties > Advanced.
@gordy - can I get you to do one more thing: try again under .NET 6 (choose .NET 6 in LINQPad's .NET dropdown on the toolbar - you may need to install .NET 6). If this works correctly with the Microsoft.Data.SqlClient 5.2.x NuGet package reference, we likely have a more serious problem (a bug in Microsoft.Data.SqlClient which we need to report to Microsoft). If this is the case, we'll need a MRE that will work the dotnet command-line:
SqlClientTest.csproj:
Program.cs:
Run this with dotnet run - with TargetFramework set to net8.0 or net9.0, and then again with net6.0. If it fails under .net 8 but succeeds under .net 6, we have the info we need for MS to fix it.
I installed this on my M2 Macbook Pro running latest Sonoma and it crashes on startup. I have submitted a bug report. I tried to enter my email address into the crash report form but I only managed to get the first letter or two in the box. The error was something about nto being able to give focus to the application.
I should say I am using VoiceOver. I used LinqPad for years a good while ago o Windows. Since then I've moved to Mac and gone blind (not related). So I was excited to hear that LinqPad had come to Mac.
So I'm wondering if it is accessible with screen readers?