Closed melanore closed 4 years ago
I'm getting this after updating:
error NU1202: Package FSharp.Data.Npgsql 0.2.0-beta is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3.1). Package FSharp.Data.Npgsql 0.2.0-beta supports:
- net461 (.NETFramework,Version=v4.6.1)
- netstandard2.0 (.NETStandard,Version=v2.0)
There are some problems with cross targeting, for now I will separate switch to new template version from performance optimizations. Pushed a new version with old template. Sorry.
No worries. I have another issue now though :). Building inside VS works, but dotnet build
fails with
error FS3031: The type provider 'C:\Users\_\.nuget\packages\fsharp.data.npgsql\0.2.2-beta\lib\netstandard2.0\FSharp.Data.Npgsql.dll' reported an error:
Assembly attribute 'TypeProviderAssemblyAttribute' refers to a designer assembly 'FSharp.Data.Npgsql.DesignTime' which cannot be loaded or doesn't exist.
Could not load file or assembly 'C:\Users\_\.nuget\packages\fsharp.data.npgsql\0.2.2-beta\lib\netstandard2.0\FSharp.Data.Npgsql.DesignTime.dll'
Never mind, it looks like an issue with a preview version of the SDK. 3.1.100 compiles it just fine.
Ooooh, this looks tasty.
Wanted to tackle this too some time in the future. Great.