petabridge / akka-bootcamp

Self-paced training course to learn Akka.NET fundamentals from scratch
http://learnakka.net/
Apache License 2.0
1.04k stars 1.57k forks source link

Lesson1.1(FSharp) Could not load file or assembly #312

Closed NameNotBeenUsed closed 4 years ago

NameNotBeenUsed commented 4 years ago

When I am trying to run the program, an exception occured : System.IO.FileNotFoundException HResult=0x80070002 Message=Could not load file or assembly“FSharp.Core, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a”or one of its dependencies. The system can not find the file specified. Source= StackTrace:

I'm using win10, vs2017, F#4.5. Anyone knows how to fix it? Thanks.
NameNotBeenUsed commented 4 years ago

I have solved this problem. There are several webpages I think might be useful for people encounter same question as me, https://stackoverflow.com/questions/29541058/net-runtime-tries-to-load-fsharp-core-4-3-0-even-if-all-projects-reference-4-3 https://social.msdn.microsoft.com/Forums/vstudio/en-US/edb81f20-967f-4c12-ab98-f1823c0bfcc0/vs2012-net-45-amp-fsharpcore-version4000-not-found?forum=fsharpgeneral

I solved this problem by adding the reference manually.