{"action":"created","issue":{"url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/353","labels_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/353/comments","events_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/353/events","html_url":"https://github.com/fsharp/FSharp.Compiler.Service/issues/353","id":89042180,"number":353,"title":"FsiEvaluationSession: \"The option value was None Parameter name: option\"","user":{"login":"prosconi","id":5949170,"avatar_url":"https://avatars.githubusercontent.com/u/5949170?v=3","gravatar_id":"","url":"https://api.github.com/users/prosconi","html_url":"https://github.com/prosconi","followers_url":"https://api.github.com/users/prosconi/followers","following_url":"https://api.github.com/users/prosconi/following{/other_user}","gists_url":"https://api.github.com/users/prosconi/gists{/gist_id}","starred_url":"https://api.github.com/users/prosconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prosconi/subscriptions","organizations_url":"https://api.github.com/users/prosconi/orgs","repos_url":"https://api.github.com/users/prosconi/repos","events_url":"https://api.github.com/users/prosconi/events{/privacy}","received_events_url":"https://api.github.com/users/prosconi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-17T15:02:40Z","updated_at":"2015-06-17T16:36:42Z","closed_at":null,"body":"When running the below code\r\n```fsharp\r\nlet sbOut = new StringBuilder()\r\nlet sbErr = new StringBuilder()\r\nlet inStream = new StringReader(\"\")\r\nlet outStream = new StringWriter(sbOut)\r\nlet errStream = new StringWriter(sbErr)\r\n\r\n// Build command line arguments & start FSI session\r\nlet argv = [| \"C:\\\\fsi.exe\" |]\r\nlet allArgs = Array.append argv [|\"--noninteractive\"|]\r\n\r\nlet fsiConfig = FsiEvaluationSession.GetDefaultConfiguration()\r\nlet fsiSession = FsiEvaluationSession.Create(fsiConfig, allArgs, inStream, outStream, errStream)  \r\n\r\nfsiSession.EvalInteraction(\"let x = 1\")\r\n```\r\n\r\nI get the below exception:\r\n```\r\nThe option value was None Parameter name: option\r\n   at Microsoft.FSharp.Core.OptionModule.GetValue[T](FSharpOption`1 option)\r\n   at Microsoft.FSharp.Compiler.Ilxgen.LookupGeneratedValue(ImportMap amap, ExecutionContext ctxt, TcGlobals g, IlxGenEnv eenv, Val v) in C:\\GitHub\\fsharp\\FSharp.Compiler.Service\\src\\fsharp\\ilxgen.fs:line 6953\r\n```\r\n\r\nFSharp.Core: 3.1\r\n.NET Framework: 4.5.1\r\n\r\nAm I just doing it wrong?"},"comment":{"url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/comments/112871193","html_url":"https://github.com/fsharp/FSharp.Compiler.Service/issues/353#issuecomment-112871193","issue_url":"https://api.github.com/repos/fsharp/FSharp.Compiler.Service/issues/353","id":112871193,"user":{"login":"prosconi","id":5949170,"avatar_url":"https://avatars.githubusercontent.com/u/5949170?v=3","gravatar_id":"","url":"https://api.github.com/users/prosconi","html_url":"https://github.com/prosconi","followers_url":"https://api.github.com/users/prosconi/followers","following_url":"https://api.github.com/users/prosconi/following{/other_user}","gists_url":"https://api.github.com/users/prosconi/gists{/gist_id}","starred_url":"https://api.github.com/users/prosconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prosconi/subscriptions","organizations_url":"https://api.github.com/users/prosconi/orgs","repos_url":"https://api.github.com/users/prosconi/repos","events_url":"https://api.github.com/users/prosconi/events{/privacy}","received_events_url":"https://api.github.com/users/prosconi/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T16:36:42Z","updated_at":"2015-06-17T16:36:42Z","body":"FSharp.Compiler.Service: 0.0.90"}}