I've created an F# (script) app via the dotnet cli using the following outlined steps. However, when I open the app/project in VS Code with Ionide, intellisense is inactive. How can I resolve this?
To create the app/project, I:
- Created an app directory
- Ran
dotnet new tool-manifest
anddotnet tool install paket
anddotnet paket restore
- Ran
dotnet paket init
- Modified
paket.dependencies
- Opened "project" in VS Code with Ionide
paket.dependencies (Note: I removed framework restrictions)
source https://api.nuget.org/v3/index.json
storage: packages
nuget FSharp.Data
Script:
#r "./packages/FSharp.Core/lib/netstandard2.0/FSharp.Core.dll"
#r "./packages/FSharp.Data/lib/netstandard2.0/FSharp.Data.dll"
open System
open FSharp.Data
type research = CsvProvider<"./path/to/file", HasHeaders=true, PreferOptionals=true>
let data = research.GetSample()