-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I have experienced weird problem with using library from FSI:
When I try to use "generate_load_scripts", on paket, its generating for me whole load scripts which I'm loading in my FSI
when I loading this this way:
#I "/Users/andrzejsliwa/.nuget/packages/fsharp.data.npgsql/0.1.49-beta/typeproviders/fsharp41/netcoreapp2.0"
#r "Npgsql.dll"
#load @"../../.paket/load/netcoreapp3.1/Server/server.group.fsx"
#load "Database.fs"
open Database
getFromUsers()it's working
but without manually loading Npgsql I got
/SafeMe/src/Server/Database.fs(3,18): error FS0039: The namespace 'Npgsql' is not defined.When I try to add Npgsql explicitly to paket and reference it then I got:
#load @"../../.paket/load/netcoreapp3.1/Server/server.group.fsx"
#load "Database.fs"
open Database
getFromUsers()
error FS0193: Assembly with same name is already loadedSo I'm guessing that you are loading Npgsql somehow, and without using dependencies, probably is embedded in your package, but then the way how is embedded don't let me generate properly load scripts
Metadata
Metadata
Assignees
Labels
No labels