I am trying to do some csv work in F# Referencing this page:
https://fsprojects.github.io/FSharp.Data/library/CsvProvider.html
the samples keep using the ResolutionFolder
bit. Would someone explain to me what it does and why it is needed?
I am trying to do some csv work in F# Referencing this page:
https://fsprojects.github.io/FSharp.Data/library/CsvProvider.html
the samples keep using the ResolutionFolder
bit. Would someone explain to me what it does and why it is needed?
I think it is to make the path given as the first argument relative to that folder.
I suggest not using it and instead, rely on F# construction such as CsvProvider< const (__SOURCE_DIRECTORY__ + "/relativepath/from/sourcecode") >
This works in all contexts, even for type provider that wouldn’t provide separate resolution folder kind of type argument.
as usual, Tomas provides a good explination here:
I happened across this looking into something else. Posting here for future searches.
This is nice explanation, but why not allow set work dir for fsi? I think it will be right.