Open jkone27 opened 2 years ago
This is a great idea, but how do we know the path of that DLL? With '#r' the FSI loads the SQLProvider then from nuget cache, but SQLProvider loads Npgsql via reflection, so we'd need to know the path and thus e.g. which version we are loading.
It seems to me that FSI creates some kind of temporary project in some location %home%\.packagemanagement\nuget\Projects\(guid)
Describe the bug Would be nice if resolution path would be inferred by .nuget directory of .fsx script automatically... also seems #r "nuget: System.Data.SqlClient" is required else the type throws an exception...
To Reproduce use provider from .fsx script and try reference ngpqslq.dll from current directory
Expected behavior Would be nice not to need the resolution path when using the type provider from scripts using
r "nuget : SQLProvider"
Desktop (please complete the following information):