Fable.System.IO
Fable.System.IO copied to clipboard
open Fable.System.IO no longer works
I seem to have broken the namespace structure such that open Fable.System.IO now generates a compile error:
error FS0039: The namespace 'IO' is not defined.
which results in things like this, further down the line:
error FS0039: The value, namespace, type or module 'Path' is not defined.
Workaround
Workaround for now is to either downgrade Fable.System.IO to 0.1.1, or replace instances of Path.SomeMethod with Fable.System.IO.Path.SomeMethod (and likewise with File methods).
I was able to work around this using a couple of let bindings.
let Path = Fable.System.IO.Path
let File = Fable.System.IO.File