fsprojects / SQLProvider

A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
https://fsprojects.github.io/SQLProvider
Other
572 stars 146 forks source link

Cannot connect to mySQL database on Ubuntu #582

Closed adrianczuczka closed 5 years ago

adrianczuczka commented 5 years ago

Description

Hi, I'm trying to use SQLProvider to connect to a local mySQL database but I keep getting reflection errors. Specifically, I'm getting the error "Could not load file or assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies." I'm on Ubuntu and using JetBrains Rider. Also, my resolution path points to MySQLConnector 0.47.1. Here is a picture of the problem. I'm new to F# development, so please let me know if I'm missing something obvious.

screenshot from 2018-11-10 15-36-57

Related information

Thorium commented 5 years ago

That version of MySQLConnector has a dependency to System.Memory.dll so that dll has to be also in the resolution path.