Reputation: 159
Please keep in mind that I am new to world of .Net and F#. I apologize in advance if my question sounds stupid or I don’t use the correct terminology. Having said that, here is my question:
I wrote a simple F# consol application using visual studio 2010. After successfully executes the application on my computer, I moved the executable file found under debug directory to different computer and try to execute it. This results in the following execption
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. at .$Program.main@()
The tagger machine has .net 4 installed. I checked the GAC and found the following “FSharp.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”
But application is looking for FSharp.Core, Version=4.0.0.0. If I understood correctly, there is no such version of F# 4.0 is available, so why my application is looking for Version=4.0.0.0? Any help is welcome
Thanks
Sudaly
Upvotes: 4
Views: 1264