You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running dotnet-install.sh from MINGW64 is not supported #715
Verified the current get_current_os_name() logic in src/dotnet-install.sh
Confirmed that MINGW64_* is not handled there
Searched the repo for any existing MINGW64 handling and did not find any
Assessment
At minimum, this is a real OS-detection gap for Git Bash / MINGW64.
The open question is whether the script is intended to support that environment. If yes, then this should be fixed by adding handling for MINGW* / MSYS* / possibly CYGWIN* and mapping appropriately to artifact behavior.
Suggested next step
I think the next step is deciding between:
Support Git Bash explicitly
detect MINGW* / MSYS* / possibly CYGWIN*
map to the correct Windows OS identifier
verify downstream behavior such as archive type, executable naming, and path handling
Document it as unsupported/do nothing
replace this with a more actionable error telling users to use PowerShell, CMD, or WSL instead
More than just supporting the windows OS in the shell script, we'd also need to extend the shell script to support getting the WindowsDesktop runtime - it currently doesn't do that because it was only ever intended for non-Windows platforms.
More than just supporting the windows OS in the shell script, we'd also need to extend the shell script to support getting the WindowsDesktop runtime - it currently doesn't do that because it was only ever intended for non-Windows platforms.
Based on the context @baronfel provided and the fact that these scripts are in maintenance mode, I'm closing this as an unsupported scenario.
Activity
ellahathaway commentedon May 21, 2026
Root cause
src/dotnet-install.shonly recognizes theseunamevalues inget_current_os_name():Darwin→osxFreeBSD→freebsdLinux→linux/linux-musl/rhel.6In Git Bash / MSYS2 / MINGW64,
unamereturns something like:That falls through to the error path:
So the reported failure is consistent with the current script behavior.
Relevant code
What I checked
get_current_os_name()logic insrc/dotnet-install.shMINGW64_*is not handled thereMINGW64handling and did not find anyAssessment
At minimum, this is a real OS-detection gap for Git Bash / MINGW64.
The open question is whether the script is intended to support that environment. If yes, then this should be fixed by adding handling for
MINGW*/MSYS*/ possiblyCYGWIN*and mapping appropriately to artifact behavior.Suggested next step
I think the next step is deciding between:
Support Git Bash explicitly
MINGW*/MSYS*/ possiblyCYGWIN*Document it as unsupported/do nothing
baronfel commentedon May 21, 2026
More than just supporting the windows OS in the shell script, we'd also need to extend the shell script to support getting the WindowsDesktop runtime - it currently doesn't do that because it was only ever intended for non-Windows platforms.
ellahathaway commentedon May 22, 2026
Based on the context @baronfel provided and the fact that these scripts are in maintenance mode, I'm closing this as an unsupported scenario.