#r "nuget: FSharp.Data"
open FSharp.Data
type WorldBank = WorldBankDataProvider<"World Development Indicators", Asynchronous=true>
let data = WorldBank.GetDataContext()
let countries = data.Countries
let aus = countries.Austria
For any country, etc. I get:
error FS0039: The type 'Countries' does not define the field, constructor or member 'Austria'.
I have two systems: almost identical in terms of applications and tools installed (e.g., same VS Community 2022, .NET SDK, .NET Runtime) with the only difference being one is WIN 10 machine and the other a WIN 11 machine.
The same lines of code in the same project: One system is OK and the other throws all red-wiggly lines.
Execute this:
For any country, etc. I get:
I have two systems: almost identical in terms of applications and tools installed (e.g., same VS Community 2022, .NET SDK, .NET Runtime) with the only difference being one is WIN 10 machine and the other a WIN 11 machine.
The same lines of code in the same project: One system is OK and the other throws all red-wiggly lines.