Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 33088 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
In a small project that has a NuGet package (FSharp.Data.SqlClient)
I right-click in a .fs file and choose 'Send references to F# Interactive', FSI fails to find the NuGet package. Output:
--> Referenced '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Core.dll' (file may be locked by F# Interactive process)
--> Referenced '/Library/Frameworks/Mono.framework/Versions/3.12.0/lib/mono/4.0/System.Data.dll' (file may be locked by F# Interactive process)
/stdin(5,1): error FS0078: Unable to find the file 'Microsoft.SqlServer.TransactSql.ScriptDom.dll' in any of
Note that it is actually a valid path to FSharp.Data.SqlClient, and if I copy that #r statement and execute it manually, it works. Also note that the error message I get is actually about a dll used by SqlClient.
Notes from github:
From @rojepp on February 18, 2015 10:1
Could it be that we're missing a #silentCd, just prior to sending references. Note, I haven't checked the code yet. I just remember a lot of discussion about this ( #162 ) and Dons suggestion to just send it all the time because it is cheap. :)
- - -
It is sent before the command, followed by all the #r's afterwards. I suspect in this instance it needs to be sent in-between each #r due to fsi's quirkiness.
I had a quick look, the current file's path is sent (#silentcd) before the list of #r references. I guess for nugets we will have to reconsider the silentcd logic