Skip to content
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

cannot build netstandard2.0 project with the dotnet SDK build #366

Open
jackfoxy opened this issue Nov 6, 2019 · 2 comments
Open

cannot build netstandard2.0 project with the dotnet SDK build #366

jackfoxy opened this issue Nov 6, 2019 · 2 comments

Comments

@jackfoxy
Copy link

jackfoxy commented Nov 6, 2019

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

#318

#337

#361

@MarneeDear
Copy link

Hi Jack!

Also related #373 .

It looks like the workaround is to continue using fsc.props. You'll find more details in #373.

@melanore
Copy link

melanore commented Apr 3, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants