Tuesday, July 26, 2016

.NET Core MAX_PATH > 260

Windows has a limit on max length of file path that is usually 260 characters.
This is sometimes a problem, in particular for tools that originate from Unix/Linux, such as node.js
There are work-arounds, and now there is a "proper" solution for new .NET Core.

Naming Files, Paths, and Namespaces (Windows)
For example: "\\?\D:\very long path"
Path Format Overview – Jeremy Kuhne's Blog

Long Paths in .NET, Part 1 of 3 [Kim Hamilton] – BCL Team Blog

podcast interview:
Fixing File Paths in .NET Core with Jeremy Kuhne @ .NET Rocks! vNext


No comments: