-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
dotnet restore fails when user folder contains non-standard characters in user name #8017
Comments
Not sure if it is related to MSBuild or SDK, tagging both CC @rainersigwald @dsplaisted |
this error points to an HTTP or networking issue. Unless the package source is private and needs authentication, and the username/password is in a nuget.config inside the directory with the I agree a binlog would help us understand what's going on. |
After encountering many problems, I finally created a VM to test, and I can confirm that |
Actually, when I do |
Trying to repro the bug, I created a local package feed in $USERHOME\nupkgs, created a nuget.config that adds it as a package source, then both Therefore, I cannot reproduce the bug. |
This issue is stale because there has been no response to a request for more information for 7 days. |
This issue was closed because there was no response to a request for more information for 10 days. |
Description
A user has the character
ø
in their name. The user account folder (generated from AD) underC:\Users\
also contains thisø
character. The user's solution source folder exists along this path. A call todotnet restore
ends up attempting to read from the wrong path as it appears to replaceø
witho
. It then proceeds to create a new directory in underC:\Users\
withø
converted too
(thereby pretty much verifying that it's confused about the path). Thedotnet restore
then fails (obviously), with error NU1301.Configuration
Regression?
Unknown, but have not seen this occur before. Potentially a regression.
Other information
error NU1301: Unable to load the service index. Unsurprising, given that it is looking in a directory that does not exist (
o
in the path instead ofø
).The text was updated successfully, but these errors were encountered: