On Windows it works great but on macOS it fails with the following error:
Exception: /Users/build/azure_agent/_work/2/s/_.ps1:278
Line |
278 | … default { throw "Architecture '$Architecture' not supported. If you …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Architecture '' not supported. If you think this is a bug, report it at
| https://github.com/dotnet/install-scripts/issues
Before i was using this Bash command for macOS which works great:
I run the same PowerShell command on both Windows and macOS machines to install dotnet SDK:
On Windows it works great but on macOS it fails with the following error:
Before i was using this Bash command for macOS which works great:
Is it possible to use PowerShell and
dotnet-install.ps1
to install dotnet SDK on macOS?