Bug 710978 - Could not load file or assembly 'FSharp.Compiler, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809' or one of its dependencies
Summary: Could not load file or assembly 'FSharp.Compiler, Version=2.0.0.0, Culture=ne...
Status: NEW
Alias: None
Product: Mono: Runtime
Classification: Mono
Component: debug (show other bugs)
Version: 2.10.x
Hardware: Macintosh Mac OS X 10.6
: P5 - None : Critical
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-08 12:19 UTC by Aidan Twomey
Modified: 2011-08-08 12:19 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aidan Twomey 2011-08-08 12:19:50 UTC
User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1

Since upgrading to Mono 2.10.3 on Mac OS-X, FSharp programs have started failing. Best example is trying to start unit tests :

System.Exception: An exception was thrown while dispatching a method call in the UI thread. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: oops! System.TypeInitializationException: An exception was thrown by the type initializer for FSharpCompilerServerShared ---> System.TypeInitializationException: An exception was thrown by the type initializer for <StartupCode$FSharpBinding>.$FSharpCompiler ---> System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Compiler, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809' or one of its dependencies. The system cannot find the file specified.

Reproducible: Always

Steps to Reproduce:
1. Write simple F# function
2. Write unit test in C# calling this function
3. Run unit test
Actual Results:  


System.Exception: An exception was thrown while dispatching a method call in the UI thread. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: oops! System.TypeInitializationException: An exception was thrown by the type initializer for FSharpCompilerServerShared ---> System.TypeInitializationException: An exception was thrown by the type initializer for <StartupCode$FSharpBinding>.$FSharpCompiler ---> System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Compiler, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a19089b1c74d0809' or one of its dependencies. The system cannot find the file specified.