peteraritchie / LongPath

drop-in library to support long paths in .NET
GNU Lesser General Public License v3.0
112 stars 43 forks source link

Unit tests to reproduce issue #45 #46

Closed monkeyhell closed 7 years ago

monkeyhell commented 7 years ago

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.

monkeyhell commented 7 years ago

(Apologies: I closed this because I managed to screw up the git commit history in my PR branch -- will create another PR shortly.)