-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: broken or unwanted link pathTooLongException #10746
base: main
Are you sure you want to change the base?
Conversation
Tagging subscribers to this area: @dotnet/area-system-io |
Learn Build status updates of commit e4be09a: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for the runtime team to review as well. I had one comment on the URL format
@@ -66,7 +66,7 @@ | |||
## Remarks | |||
|
|||
> [!NOTE] | |||
> This exception is not included in [.NET for Windows Store apps](https://go.microsoft.com/fwlink/?LinkID=247912) or the [Portable Class Library](/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library), but it is thrown by some members that are. To catch the exception in that case, write a `catch` statement that handles an <xref:System.IO.IOException> instead. | |||
> This exception is not included in [.NET for Windows Store apps](https://learn.microsoft.com/en-us/dotnet/api/system.io.pathtoolongexception?view=net-8.0) or the [Portable Class Library](/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library), but it is thrown by some members that are. To catch the exception in that case, write a `catch` statement that handles an <xref:System.IO.IOException> instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The locale portion of the URL should be removed. That way, it redirects to the locale configured in the user's browser)
> This exception is not included in [.NET for Windows Store apps](https://learn.microsoft.com/en-us/dotnet/api/system.io.pathtoolongexception?view=net-8.0) or the [Portable Class Library](/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library), but it is thrown by some members that are. To catch the exception in that case, write a `catch` statement that handles an <xref:System.IO.IOException> instead. | |
> This exception is not included in [.NET for Windows Store apps](https://learn.microsoft.com/dotnet/api/system.io.pathtoolongexception?view=net-8.0) or the [Portable Class Library](/dotnet/standard/cross-platform/cross-platform-development-with-the-portable-class-library), but it is thrown by some members that are. To catch the exception in that case, write a `catch` statement that handles an <xref:System.IO.IOException> instead. |
Summary
Describe your changes here.
In the remarks section, there's a link to Long Paths in .NET.
Now updated to
intended target of the link. I would be convenient if the link were updated.
Fixes #10404 (if available)