I try to spend 30 minutes writing down what is in my head at the end of each working day. I also sometimes write longer entries. This blog is mostly a way for me to reflect and look back at what I have been doing, I hope some of it might also be useful to others.
Monday, November 3, 2014
Updating DLL refs when calling F# code from a C# project
This might be useful some other day. I had a situation where everything worked fine in the F# project but would crash with a FileNotFound FSharp.core exception when calling from the C# project.
The problem was the I had used a build of FParsec that relied on an old version of FSharp.core. This was taken care of in the F# app.config file, but not in the app.config file of the C# project. So I just made sure the to add the same snippet to the C# project and everything works again. Snippet:
Subscribe to:
Posts (Atom)