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

Make network paths be network paths #10191

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

davidwengier
Copy link
Member

@davidwengier davidwengier commented Mar 31, 2024

Fixes #10192

Seems we were normalizing \\computername\path to //computername/path which meant it wasn't a network path any more. Now we normalize to \\computername/path which seems to work fine 🤷‍♂️

@davidwengier davidwengier requested a review from a team as a code owner March 31, 2024 22:28
@@ -25,7 +25,20 @@ public void Normalize_Windows_StripsPrecedingSlash()
}

[Fact]
public void Normalize_IgnoresUNCPaths()
public void Normalize_NormalizesPathsWithSlashAtPositionOne()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: could probably use Thoery for the tests

@davidwengier davidwengier merged commit 52737cc into dotnet:main Apr 1, 2024
12 checks passed
@davidwengier davidwengier deleted the NetworkPaths branch April 1, 2024 21:04
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Apr 1, 2024
@Cosifne Cosifne modified the milestones: Next, 17.11 P2 May 28, 2024
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.

Intellisense stop working for .razor file if project is on network folder after upgrade from 17.8.* to 17.9.2
5 participants