-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using System.Data.SqlClient 4.6.0 throws PlatformNotSupportedException #2050
Comments
There seems some problem when it comes to references related to runtime assemblies, check this issue. Right click on Function project and
|
Possibly. I don't need 4.6.0 so I will stick to 4.5.1 for the time being. Just wanted to report the issue to make sure someone knows about it :) |
@JohnReeson : Thanks for the possible workaround. But it's not working over here ? Any idea on when this could be fixed ? |
Same for me. Working with Microsoft.EntityFrameworkCore.SqlServer 2.2.0 and get:
|
Same here |
Can confirm that the issue still exists in (preview) versions beyond 4.6.0.
|
This workaround is still working locally, but it does not work on Azure Devops anymore. Last time I did a build was December 2018. Yesterday (3/5/2019) The build failed to find the dll in the user nuget path on the build host:
Is it in another folder? |
I'm having this issue with 4.7.0 preview. |
I just updated System.Data.SqlClient from 4.5.1 to 4.6 (not preview) and got the same error message as described here https://github.com/dotnet/corefx/issues/33620.
Repro steps
Provide the steps required to reproduce the problem
create any project with a dependency on System.Data.SqlClient version 4.6.0
Try to run it on Azure Functions
Expected behavior
It should not fail.
Actual behavior
Throwing PlatformNotSupportedException.
Known workarounds
Downgrading to 4.5.1 works.
The text was updated successfully, but these errors were encountered: