I've added 2 unit tests that demonstrate issues when dealing with UNC paths near the MAX_PATH limit, one in Directory.CreateDirectory and one in Directory.EnumerateDirectories.
Note that I haven't attempted to fix the underlying problem(s) here, just provided a way to reproduce it/them.
I've added 2 unit tests that demonstrate issues when dealing with UNC paths near the MAX_PATH limit, one in Directory.CreateDirectory and one in Directory.EnumerateDirectories.
Note that I haven't attempted to fix the underlying problem(s) here, just provided a way to reproduce it/them.