It's not possible to use Microsoft.Data.SqlClient
See original GitHub issuePrerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
Cake runner
Cake .NET Tool, Cake runner for .NET Core
Cake version
1.2.0
Operating system
Linux
Operating system architecture
64-Bit
CI Server
No response
What are you seeing?
It’s not possible to use Microsoft.Data.SqlClient nuget on cake script. Some addins like Cake.SqlServer and Cake.SqlTools cannot be used.
The following error is showed:
An error occurred when executing task 'Test'.
Error: One or more errors occurred. (Strings.PlatformNotSupported_DataSqlClient)
Strings.PlatformNotSupported_DataSqlClient
What is expected?
I expect to be able to use this package. Like a I said before, it’s referenced by addins which handles databases.
In the same machine/environment, we create a new console application, adding the same package as reference and running this application, it’ll work as expected.
Steps to Reproduce
- In a new folder, create dotnet tool manifest:
dotnet new tool-manifest
- Install cake tool
dotnet tool install Cake.Tool --version 1.2.0
- Create a build.cake script with the following contents:
#addin "nuget:?package=Microsoft.Data.SqlClient&version=3.0.0" var target = Argument("target", "Test"); Task("Test") .Does(() => { const string connStr = "<your connection string>"; var conn = new Microsoft.Data.SqlClient.SqlConnection(connStr); }); RunTarget(target);
- Run cake script:
dotnet cake
Output log
Looking for modules...
No modules found to install.
Module directory does not exist.
Analyzing build script...
[30;1mAnalyzing [0m[37m/tmp/fk/build.cake[0m[30;1m...[0m
Processing build script...
Installing addins...
Resolving assembly 'System.Private.Uri.resources, Version=4.0.6.0, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a' using runtime installed at '/home/rramos/.dotnet/shared/Microsoft.NETCore.App/3.1.18/'...
Exception occurred while resolving assembly System.Private.Uri.resources: Could not load file or assembly 'System.Private.Uri.resources, Version=4.0.6.0, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Trying to resolve assembly System.Private.Uri.resources as 'System.Private.Uri, Version=4.0.6.0, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a'...
Assembly System.Private.Uri resolved as 'System.Private.Uri, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' (file location: '/home/rramos/.dotnet/shared/Microsoft.NETCore.App/3.1.18/System.Private.Uri.dll')
[30;1mThe addin [0m[37mMicrosoft.Data.SqlClient[0m[30;1m will reference [0m[37mMicrosoft.Data.SqlClient.dll[0m[30;1m.[0m
[30;1mVerifying assembly '[0m[37mMicrosoft.Data.SqlClient, Version=2.0.20168.4, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5[0m[30;1m'.[0m
[30;1mAdding assembly reference to [0m[37mSystem.Private.CoreLib.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mSystem.Linq.Expressions.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mMicrosoft.CSharp.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mCake.Core.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mCake.Common.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mSpectre.Console.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mnetstandard.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mMicrosoft.Win32.Registry.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mSystem.Memory.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mWcwidth.dll[0m[30;1m...[0m
[30;1mAdding assembly reference to [0m[37mMicrosoft.Data.SqlClient.dll[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.AppVeyor[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.AppVeyor.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.AzurePipelines[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.AzurePipelines.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.Bamboo[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.Bamboo.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.BitbucketPipelines[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.BitbucketPipelines.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.Bitrise[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.Bitrise.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.ContinuaCI[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.ContinuaCI.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.GitHubActions[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.GitHubActions.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.GitLabCI[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.GitLabCI.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.GoCD[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.GoCD.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.Jenkins[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.Jenkins.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.MyGet[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.TeamCity[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.TravisCI[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Build.TravisCI.Data[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Diagnostics[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.IO[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.IO.Paths[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Net[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Security[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Solution[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Solution.Project[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Solution.Project.Properties[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Solution.Project.XmlDoc[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Text[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Cake[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.ApiKey[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Config[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Download[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Features[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Install[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.New[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Pack[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Pin[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Push[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Sources[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Uninstall[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Chocolatey.Upgrade[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotCover[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotCover.Analyse[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotCover.Cover[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotCover.Merge[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotCover.Report[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Build[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.BuildServer[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Clean[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Execute[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.MSBuild[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.NuGet.Delete[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.NuGet.Push[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.NuGet.Source[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Pack[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Publish[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Restore[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Run[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Test[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.Tool[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DotNetCore.VSTest[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.DupFinder[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Fixie[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitLink[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.AddAssets[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Close[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Create[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Discard[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Export[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Label[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Open[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseManager.Publish[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitReleaseNotes[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.GitVersion[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.ILMerge[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.ILRepack[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.InnoSetup[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.InspectCode[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.MSBuild[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.MSpec[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.MSTest[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NSIS[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Add[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Delete[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Init[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Install[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.List[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Pack[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Push[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Restore[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.SetApiKey[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.SetProxy[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Sources[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NuGet.Update[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.NUnit[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.OctopusDeploy[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.OpenCover[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.ReportGenerator[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.ReportUnit[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.Roundhouse[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.SignTool[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.SpecFlow[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.SpecFlow.StepDefinitionReport[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.SpecFlow.TestExecutionReport[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.TextTransform[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.VSTest[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.VSWhere[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.VSWhere.All[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.VSWhere.Latest[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.VSWhere.Legacy[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.VSWhere.Product[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.WiX[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.WiX.Heat[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.XBuild[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Tools.XUnit[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Common.Xml[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Core[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Core.Diagnostics[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Core.IO[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mCake.Core.Scripting[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mSystem[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mSystem.Collections.Generic[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mSystem.IO[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mSystem.Linq[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mSystem.Text[0m[30;1m...[0m
[30;1mImporting namespace [0m[37mSystem.Threading.Tasks[0m[30;1m...[0m
Compiling build script...
========================================
Test
========================================
[37mExecuting task: [0m[37;1mTest[0m
[41m[37;1mAn error occurred when executing task '[0m[41;1m[37;1mTest[0m[41m[37;1m'.[0m
[41m[37;1mError: [0m[41;1m[37;1mSystem.AggregateException: One or more errors occurred. (Strings.PlatformNotSupported_DataSqlClient)
---> System.PlatformNotSupportedException: Strings.PlatformNotSupported_DataSqlClient
at Microsoft.Data.SqlClient.SqlConnection..ctor(String connectionString) in /_/artifacts/Project/obj/Release.AnyCPU/Microsoft.Data.SqlClient/netcore/netcoreapp3.1/Microsoft.Data.SqlClient.notsupported.cs:line 386
at Submission#0.<>c.<<Initialize>>b__0_0()
at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass31_0.<Does>b__0(ICakeContext _) in C:\projects\cake\src\Cake.Core\CakeTaskBuilder.Execution.cs:line 26
at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass34_0.<Does>b__0(ICakeContext context) in C:\projects\cake\src\Cake.Core\CakeTaskBuilder.Execution.cs:line 82
at Cake.Core.CakeTask.Execute(ICakeContext context) in C:\projects\cake\src\Cake.Core\CakeTask.cs:line 119
at Cake.Core.DefaultExecutionStrategy.ExecuteAsync(CakeTask task, ICakeContext context) in C:\projects\cake\src\Cake.Core\DefaultExecutionStrategy.cs:line 74
at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 278
at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 303
at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 311
at Cake.Core.CakeEngine.RunTask(ICakeContext context, IExecutionStrategy strategy, CakeTask task, String target, Stopwatch stopWatch, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 226
at Cake.Core.CakeEngine.RunTargetAsync(ICakeContext context, IExecutionStrategy strategy, ExecutionSettings settings) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 189
at Cake.Cli.BuildScriptHost`1.RunTargetAsync(String target) in C:\projects\cake\src\Cake.Cli\Hosts\BuildScriptHost.cs:line 73
at Cake.Core.Scripting.ScriptHost.RunTarget(String target) in C:\projects\cake\src\Cake.Core\Scripting\ScriptHost.cs:line 105
at Submission#0.<<Initialize>>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, StrongBox`1 exceptionHolderOpt, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.Scripting.Script`1.RunSubmissionsAsync(ScriptExecutionState executionState, ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Cake.Infrastructure.Scripting.RoslynScriptSession.Execute(Script script) in C:\projects\cake\src\Cake\Infrastructure\Scripting\RoslynScriptSession.cs:line 167
at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath) in C:\projects\cake\src\Cake.Core\Scripting\ScriptRunner.cs:line 173
at Cake.Features.Building.BuildFeature.RunCore(IRemainingArguments arguments, BuildFeatureSettings settings) in C:\projects\cake\src\Cake\Features\Building\BuildFeature.cs:line 99
at Cake.Features.Building.BuildFeature.Run(IRemainingArguments arguments, BuildFeatureSettings settings) in C:\projects\cake\src\Cake\Features\Building\BuildFeature.cs:line 49
at Cake.Commands.DefaultCommand.Execute(CommandContext context, DefaultCommandSettings settings) in C:\projects\cake\src\Cake\Commands\DefaultCommand.cs:line 72[0m
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:20 (16 by maintainers)
Top Results From Across the Web
Replacing System.Data.SqlClient with Microsoft. ...
Now, there is a request to replace the System.Data.SqlClient with Microsoft.Data.SqlClient due to end of support for that library.
Read more >Could not load file or assembly System.Data.SqlClient
1. Make sure that the 'System.Data. · 2. Check if you have any configuration files in your project (e.g., 'app.config' or 'web. ·...
Read more >SqlClient troubleshooting guide - ADO.NET Provider for ...
Recommended Solution: Ensure client application references minimum v2.1.0 version of Microsoft.Data.SqlClient package. When using EF Core, add a ...
Read more >Microsoft.Data.SqlClient is not supported on this platform
Microsoft.Data.SqlClient is not supported on this platform. When using the portal to create Azure function in C#, System.Data.
Read more >When Microsoft will release Entity Framework 6.x (.NET ...
Microsoft.Data.SQLClient is currently not supported in ef 6.x. I find Microsoft has stated some notes in their Github Status and Support:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Running under .NET SDK 7.0.100.
Hi,
I will take a look at this and get back to you