Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows 10: System.PlatformNotSupportedException: System.Data.SqlClient is not supported on this platform. #2534
What You Are Seeing?
I'm getting the error
This is after following the advice in this other ticket: #2275 (comment)
What is Expected?
That the script runs and can use the
What version of Cake are you using?
What environment are you running on? Windows? Linux? Mac?
Windows 10, 64-bit
Are you running on a CI Server? If so, which one?
No, but the script will eventually be extended to run on Team City and Jenkins.
How Did You Get This To Happen? (Steps to Reproduce)
The command line used was:
Remove System.Data.SqlClient altogether
If I remove the
Ignore advice in #2275
If I ignore the advice in issue #2275, and just have
Then the error I get is:
This is odd, because it is now referencing an older version of the assembly. (4.5 instead of the specified 4.6)
So, I thought what if I specify v4.5... Same error except it now trying to load v4.4