Skip to content
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

Do not normalize paths from mapped network drives #306

Merged
merged 1 commit into from
Nov 16, 2021

Conversation

jeffkl
Copy link
Collaborator

@jeffkl jeffkl commented Nov 16, 2021

On Windows, the GetFinalPathNameByHandle function returns the UNC path if the specified path is from a mapped network drive. These paths break Visual Studio so they can't be used. This change detects if the path was normalized and isn't from a network drive, otherwise the original path is used.

Fixes #305

On Windows, the GetFinalPathNameByHandle function returns the UNC path if the specified path is from a mapped network drive.  These paths break Visual Studio so they can't be used.  This change detects if the path was normalized and isn't from a network drive, otherwise the original path is used.

Fixes microsoft#305
@jeffkl jeffkl merged commit 89e5b04 into microsoft:main Nov 16, 2021
@jeffkl jeffkl deleted the fix-mapped-drive-path branch November 16, 2021 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Projects are not loaded when the code is in network mapped drive
1 participant