MissingMethodException when running a unit test that uses FSharp.Data
问题 I have a NUnit unit test that is written in a normal F# library but targets F# code in a Portable Class Library. When I run this test (in Visual Studio 2013), I get the following exception: Result Message: System.MissingMethodException : Method not found: 'Microsoft.FSharp.Control.FSharpAsync`1<System.IO.TextReader> FSharp.Data.Runtime.IO.asyncReadTextAtRuntime(System.Boolean, System.String, System.String, System.String, System.String)'. This is what I have in my app.config in the Portable