f# console app doesn't work. c# console app does
c#, console, f#
Solution
Look at the references of your F# project and you will see one to FSharp.Core which is normally located here:
C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\2.0\Runtime\v4.0\FSharp.Core.dll
On Windows 7 (64 bit) PC
Also look at the F# site to get the runtime download.
http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/release.aspx
EDIT: here is the direct link to the runtime download (thanks ildjarn):
http://www.microsoft.com/en-us/download/details.aspx?id=13450
Problem
I am attempting to deploy a simple f# console app to a coworkers computer but it keeps failing. After double clicking on the app icon, the console window appears but then the Microsoft error reporting window shows up asking if I would like to send the error report, I decline then some text flashes in the console window. It looks like an error message, but the window closes too fast to tell. The weird thing is, if I create a similar C# app, it works. I am targeting .net 4 client framework in release mode. Here is the code f# code (doesn't work): ``` open System printfn "print test" Console.ReadLine() |> ignore ``` c# code (does work): ``` using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TestCApplication { class Program { static void Main(string[] args) { Console.WriteLine("Testing..."); Console.ReadLine(); } } } ```