You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.IO.DirectoryNotFoundException: Could not find a part of the path.
The file is present. Full path length is 263 characters. Reducing the file path to 207 characters works around the issue, however this is not possible in all cases.
The text was updated successfully, but these errors were encountered:
You can work around this by prepending \\?\ to the path:
The maximum path of 32,767 characters is approximate, because the "\\?\" prefix may be expanded to a longer string by the system at run time, and this expansion applies to the total length.
ameltzer-MSFT
changed the title
System.IO.DirectoryNotFoundException: Could not find a part of the path.
Support for long paths (was: System.IO.DirectoryNotFoundException: Could not find a part of the path.)
Jun 10, 2024
System.IO.DirectoryNotFoundException: Could not find a part of the path.
The file is present. Full path length is 263 characters. Reducing the file path to 207 characters works around the issue, however this is not possible in all cases.
The text was updated successfully, but these errors were encountered: