Open jackfoxy opened 4 years ago
Hi Jack!
Also related #373 .
It looks like the workaround is to continue using fsc.props
. You'll find more details in #373.
https://github.com/demetrixbio/FSharp.Data.Npgsql is very similar to FSharp.Data.SqlClient. We recently migrated to netstandard2.0 without any net461 dependencies. It works smoothly on Windows/Unix using 3.1.201 SDK. If you are having issues, I would suggest to try new SDK.
Description
Cannot build as a netstandard2.0 project with the dotnet SDK build.
Repro steps
I have a test project where various SDK versions can be tried.
https://github.com/jackfoxy/TestSqlClient
Known workarounds
Build in Visual Studio 16.3.8 does work. I have tried Visual Studio 16.4 previews, and they do not build.
Related information
Note in the readme.md file the evolution of error and warning messages produced over the most recent dotnet SDK versions. SDKS prior to 2.1.301 will not even run the build.
`paket install
gives a warningrelated issues
https://github.com/fsprojects/FSharp.Data.SqlClient/issues/318
https://github.com/fsprojects/FSharp.Data.SqlClient/issues/337
https://github.com/fsprojects/FSharp.Data.SqlClient/issues/361