-
Notifications
You must be signed in to change notification settings - Fork 140
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
Why not netstandard for this library? #546
Comments
targeting NET Standard 2.1 would be nice too. |
Currently trying to support DotNetFramework 4.8 and DotNet 6.0 applications with a common set of libraries, so we target NetStandard 2.0 in-house. There's a big push to start using the data in Snowflake directly and 2.015 (last to target standard 2.0) has been flagged by nuget.org as having vulnerabilities, so we're going to have to switch to a different Snowflake client. |
Hi folks - first of all, apologies for the long period without comment on this one from the Snowflake side; we're working on making this procedure better. Second; the request is now on the table for the product team to review and evaluate. I'll keep this thread updated with any kind of news as situation evolves. Sadly at this moment of writing, I'm not able to attach any kind of timeline to this request, but will keep you folks posted. Thank you so much for bearing with us ! |
Quick update: we started working on the request. Will keep this thread posted with the progress. |
PR to support .NET Standard 2.0 in review at #867 |
PR merged and will be part of the next (major) release, i'll keep this thread posted edit: confirming with Product team; release should be available by mid-July 2024 |
after such a long wait, support for netstandard2.0 is now released with Snowflake .NET driver version v4.0.0 in July 2024 |
Issue description
The library is currently targeting specific net6.0 and net472 frameworks.
This means that applications using other frameworks are not fully supported.
It also means that packages that are built on netstandard that have a dependency on Snowflake.Data get a warning
Error log
Suggested Solution
I have tested a local build of the package against netstandard2.0 and it works as expected, I cannot run the unit tests locally as the parameters.json required is encrypted.
Would just require a change to the target framework removing:
and adding:
This is the recommended way of deploying cross platform / framework libraries:
https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/cross-platform-targeting
The text was updated successfully, but these errors were encountered: