dotnet / dotnet/dotnet-api-docs

Correct description of PathTooLongException

Open
#3,600 0 comments 1 reaction 0 assignees View on GitHub
area-System.IO Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

# Update description of PathTooLongException

## General

In member documentation, almost all descriptions of the condition under which PathTooLongException is thrown mention the 260 character limit in the .NET Framework 4.6.1 and earlier versions. This needs to be changed, since the .NET Framework supports long paths. For [Directory.GetParent](https://review.docs.microsoft.com/dotnet/api/system.io.directory.getparent), it was changed to "The specified path, file name, or both exceed the system-defined maximum length. For more information, see the topic." in PR dotnet/docs#4283.

In addition, the PathTooLongException topic itself is too .NET Framework-centric. It fails to mention the size of supported paths on Linux and MacOS.

//cc @mairaw @JeremyKuhne @pjanotti

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.