fsprojects / fsprojects/FSharp.Data.SqlClient

cannot build netstandard2.0 project with the dotnet SDK build

Open
#366 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
F#
Stars
206
Forks
66
PR merge metrics
No merged PRs in 30d

Description

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 warning

Could not detect any platforms from 'typeproviders' in E:\GitRepos\TestSqlClient\packages\FSharp.Data.SqlClient\lib\typeproviders\fsharp41\net461\FSharp.Data.SqlClient.DesignTime.dll', please tell the package authors

related 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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked TestSqlClient reproduction and its readme.md, comparing the reported behavior across the referenced dotnet SDK versions. Reproduce the netstandard2.0 build failure and inspect the related FSharp.Data.SqlClient issues for context. Done means the project builds successfully with the dotnet SDK without the reported type-provider warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.