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
Could not load file or assembly 'FSharp.Core, Version=4.3.1.0 #1232
Comments
I'm also having this issue. Any fix? |
I don't know. Project was discontinued. |
I'm seeing this issue when I try to |
Sorry, |
@fischgeek this is probably a binding redirects issue, you may have several F# libraries / projects depending on different versions of FSharp.Core. https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/redirect-assembly-versions The general fix is to adjust app.config with a binding redirect declaration unifying the version of FSharp.Core (or any library that clashes) to the one that your application ships. |
@smoothdeveloper - Thanks for the reply. I still think FSharp.Data is using an old version of .Core. I spent a lot of time trying to isolate the issue. So, I unloaded all attached F# projects and built the main project (web project). I referenced only 1 F# library project (just a few helper methods). One helper method is using With the library as-is running on the latest .Core version, the build succeeds but the site throws the code dump screen. When I comment out the 1 line that references Interesting, right? EDIT: Here is my binding redirect in the F# lib.
|
@cartermp We should go through and clean out old issues for this repo. |
@dsyme sounds gouda me, wanna find time for a zoom or teams call to just collab on it sometime this week or next? |
VS2017 , the same issue on Windows 10 , Windows Server 2016 , Windows Server 2019,
($exception).FusionLog:
=== Pre-bind state information ===
LOG: DisplayName = FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Program Files (x86)/Internet Explorer/
LOG: Initial PrivatePath = NULL
Calling assembly : FSharp.Data, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null.
LOG: This bind starts in LoadFrom load context.
WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load().
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: FSharp.Core, Version=4.3.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
The text was updated successfully, but these errors were encountered: