F# + NuGet + MySQL

38 views
Skip to first unread message

Andrew Sitaev

unread,
Aug 30, 2017, 4:38:50 AM8/30/17
to F# Discussions
Hi,
I use F# in MS Visual Studio 2017. Here is a simple question: is it possible to

- install a NuGet
- copy / paste a code into a .fs file
- build the project and query my MySQL DB?

Allmighty Internet gives me tricky colution like "install this NuGet then manually install that driver then set up an assembly resolution path...".
Is it always so hard to use usual (but crucial) stuff like DB connection in F#?

Thank you!

Stephen Swensen

unread,
Aug 30, 2017, 11:14:40 AM8/30/17
to F# Discussions
I've used the https://www.nuget.org/packages/MySql.Data package with plain ADO.NET for quick and dirty projects: no manual driver install or assembly resolution path stuff required.
Reply all
Reply to author
Forward
0 new messages