New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
since release of FCS 34.0.1: FSharp.Core.dll was not found or is invalid #9064
Comments
You could try forcing FSharp.Core.dll to load by using Assembly.LoadFrom in the plug-in's OnLoadPlugIn override. |
@goswinr Try removing this: Explicit FSharp.Core references are only useful for library authors looking to pin their lowest-compatible FSharp.Core for consumers. |
Is there a way to have more diagnostic error messages? I included these suggestions in the test repro. |
@goswinr Did you make progress on this? I can look at your repro if you like |
@dsyme Yes, it would be great if you could look at the test repro. Follow the steps in the readme.
Would it be possible to have a better error message? Detailing why it is invalid ? I saw some binding errors in the fusion log . ( using this tool https://github.com/awaescher/Fusion) but I am not sure they are relevant. version 33.0.1 also shows similar errors. |
With FCS 40.0 I still get the same
however, I can't put Fsharp.Core in any of those directories because of insufficient user rights. @KevinRansom there is also no |
After more than a year, I finally managed to fix this. 🎉 |
Just a bump that I was bit by this while hosting the FCS compiler in .NET 8. @goswinr's workaround worked for me (thank you for your suffering) |
Since release of FSharp.Compiler.Service
34.0.1
(and higher versions too) I get this errorerror FS0084: Assembly reference 'FSharp.Core.dll' was not found or is invalid
when calling
FsiEvaluationSession.Create(...)
hosted in a Rhino3d PluginIs version
33.0.1
using another version of FSharp.Core than34.0.1
?May it be possible to fix this by telling the Rhino.PlugIn how to explicitly reference FSharp.Core ?
With binding redirects?
cc @sbaer @jesterKing
Here is a minimal repro to reproduce this :
https://github.com/goswinr/FsiRhinoTest
I previously reported this on FCS fsharp/fsharp-compiler-docs#935
The text was updated successfully, but these errors were encountered: