-
Notifications
You must be signed in to change notification settings - Fork 830
Closed
Description
I've encountered a runtime error in a simple console application using FSharp.Data. The error message is the same as in fsprojects/FSharp.Data#605
Repro steps
- Install the
5.0.100-preview.1.20155.7SDK. dotnet runanetcoreapp3.1project that uses theLoadmethod of the HTML type provider (I assume this is all it takes - if not, I can provide a better repro)
Expected behavior
No exception.
Actual behavior
Unhandled exception. 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, System.String)'
Known workarounds
Use an older SDK version with global.json:
{
"sdk": {
"version": "3.1.100"
}
}
However, this does not help with progams built from within VS 16.6 Preview 1 as they fail at runtime regardless.
Related information
Provide any related information (optional):
- Windows 10
- SDK: 5.0.100-preview.1.20155.7 and 3.1.101
- VS 16.6 Preview 1