While attempting to install the DotNetSDK using the provided installation script, I encountered an issue where the script fails if the path specified for the -InstallDir parameter contains spaces. The script works correctly when the path uses the short name (8.3 format) for the directory with spaces.
The script fails with the following error message:
'Doyle\.azurelogicapps\dependencies\DotNetSDK' is not a supported value for -Quality option. Supported values are:
daily, signed, validated, preview, ga. If you think this is a bug, report it at
https://github.com/dotnet/install-scripts/issues.
When the path with spaces is replaced by its 8.3 format (e.g., JOHNDO~1), the script executes successfully:
Expected Behavior:
The script should correctly handle paths with spaces when specified for the -InstallDir parameter without requiring the use of the 8.3 format.
Actual Behavior:
The script fails with an error when the path specified for the -InstallDir parameter contains spaces.
Environment:
OS: Windows 11 Home (10.0.22631 Build 22631)
PowerShell version: 5.1.22621.3672
Suggested Solution:
Please modify the script to handle paths with spaces correctly.
Thank you for addressing this issue. Please let me know if any additional information is required.
While attempting to install the DotNetSDK using the provided installation script, I encountered an issue where the script fails if the path specified for the -InstallDir parameter contains spaces. The script works correctly when the path uses the short name (8.3 format) for the directory with spaces.
Steps to Reproduce:
Expected Behavior: The script should correctly handle paths with spaces when specified for the -InstallDir parameter without requiring the use of the 8.3 format.
Actual Behavior: The script fails with an error when the path specified for the -InstallDir parameter contains spaces.
Environment: OS: Windows 11 Home (10.0.22631 Build 22631) PowerShell version: 5.1.22621.3672
Suggested Solution: Please modify the script to handle paths with spaces correctly.
Thank you for addressing this issue. Please let me know if any additional information is required.