FSharp.Data.SqlClient Type Provider on machine without SQL installed (CI server)

292 views Asked by At

I've started using FSharp.Data.SqlClient type provider lately and I'm having trouble to make it work with AppVeyor build system.

Problem is, that on the machine build is running at, there is no database running, so specifying local connection string makes build fails, because Type Provider is not able to get table structure data out of database.

Is there a way to specify some kind of local file which would contain database structure information (e.g. as dbml?)?

I could probably create a publicly available database, add read-only credentials and point type provider to that database, so it could be accessed from build server, but I don't like that idea.

0

There are 0 answers