dotnet / vscode-dotnet-runtime

VSCode Extension for Installing .NET via VS Code
MIT License
138 stars 256 forks source link

[NETE2ESDK] Unable to find .NET zip package installation path containing Chinese characters by "Find Path" command. #1967

Open v-xiaofchen opened 2 days ago

v-xiaofchen commented 2 days ago

Describe the bug.

Unable to find .NET zip package installation path containing Chinese characters by "Find Path" command.

Please attach log file(s) here if you have any.

The log file location should be copied to your clipboard if you came from VS Code.

Reproduction Steps

1.Download X64 SDK or runtime zip package from https://dotnet.microsoft.com/en-us/download/dotnet on Windows X64. 2.Use zip package and unzip it in a custom location containing Chinese characters (for example, 'D:\Test自定义路径 ') 3.Add X64 SDK or zip installation path to the environment variables. 4.Open VS Code and Run the 'Sample: Find the.NET on the PATH' command.

Expected Behavior

The .NET zip installation path containing Chinese characters can be found through the "Find Path" command.

Exceptions & Errors (if any)

Unable to find .NET zip package installation path containing Chinese characters by "Find Path" command. image

.NET Install Tool Version

dotnet-install-tool-2.1.7

Your operating system? Please provide more detail, such as the version and or distro above.

Windows

VS Code Version

1.93.1

NicoleWang001 commented 2 days ago

Add screen with a custom location containing Chinese characters (for example, 'D:\a你好 ') image

nagilson commented 1 day ago

This is a very good find, thank you