You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type Windows = FileSystem<"C:/Windows/System32/drivers/etc">
let updateHosts name (ip:IPAddress) =
Windows.hosts
Not compiles (where is etc?):
type Windows = FileSystem<"C:/Windows/System32/drivers">
let updateHosts name (ip:IPAddress) =
Windows.etc
I want to reach C:/Windows/System32/drivers/etc/hosts which is like local DNS table, sometimes used to to ensure .NET IO classes map to right network storage by name. Hence change of hosts during deployment.
The text was updated successfully, but these errors were encountered:
Not sure how type providers work, but can FileSystem<"C:/Windows/System32/drivers/"> run in one rights, but when I type Windows.etc in VS 2015 editor to be under other rights?
Compiles:
Not compiles (where is
etc
?):I want to reach
C:/Windows/System32/drivers/etc/hosts
which is like local DNS table, sometimes used to to ensure .NET IO classes map to right network storage by name. Hence change ofhosts
during deployment.The text was updated successfully, but these errors were encountered: