Describe the bug
Upon adding the SQLProvider.PostgreSql package to a net8.0 project, the following error immediately appers:
The type provider 'C:Users\user\.nuget\packages\sqlprovider.postgresql\1.5.21\lib\net8.0\FSharp.Data.SqlProvider.PostgreSql.dll' reported an error: The type provider designer assembly 'FSharp.Data.SqlProvider.PostgreSql.DesignTime.dll' could not be loaded from folder 'C:\Users\user\.nuget\packages\sqlprovider.postgresql\1.5.21\typeproviders\fsharp41\net10.0' because a dependency was missing or could not loaded. All dependencies of the type provider designer assembly must be located in the same folder as that assembly. The exception reported was: System.IO.FileLoadException - Could not load file or assembly 'FSharp.Core, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
I checked the .nuget folder, and the DesignTime.dll file exists in both the \net8.0\ and \net10.0\ folders.
To Reproduce
Steps to reproduce the behavior:
- Create any net8 project (eg. dotnet new console -lang F# -f net8.0)
- Add package SQLProvider.PostgreSql 1.5.21
- Error immediately, cannot build project
Expected Behavior
The project builds upon adding reference to the SQLProvider.PostgreSql package.
Environment (please complete the following information):
- Database: PostgreSql
- Nuget Package and version: SQLProvider.PostgreSql 1.5.21
- OS: Windows
- Dotnet or .NET Framework and version: dotnet 8
Describe the bug
Upon adding the SQLProvider.PostgreSql package to a net8.0 project, the following error immediately appers:
The type provider 'C:Users\user\.nuget\packages\sqlprovider.postgresql\1.5.21\lib\net8.0\FSharp.Data.SqlProvider.PostgreSql.dll' reported an error: The type provider designer assembly 'FSharp.Data.SqlProvider.PostgreSql.DesignTime.dll' could not be loaded from folder 'C:\Users\user\.nuget\packages\sqlprovider.postgresql\1.5.21\typeproviders\fsharp41\net10.0' because a dependency was missing or could not loaded. All dependencies of the type provider designer assembly must be located in the same folder as that assembly. The exception reported was: System.IO.FileLoadException - Could not load file or assembly 'FSharp.Core, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)I checked the .nuget folder, and the DesignTime.dll file exists in both the \net8.0\ and \net10.0\ folders.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The project builds upon adding reference to the SQLProvider.PostgreSql package.
Environment (please complete the following information):