`dotnet --list-sdks` 在 Mac 上看不到已安装的 sdk。为什么?
我从此处下载了 .NET SDK
然后我就运行下载的文件,看来我已经安装了所有东西。
但每当我运行 dotnet --list-sdks
我未在列表中获取已安装的 .NET SDK。
有人可以帮助我理解我在这里缺少什么吗?
I downloaded the .NET SDK from here
then I just run the downloaded file and it seems I got everything installed.
But whenever I run the dotnet --list-sdks
I am not getting the installed .NET SDK in the list.
Could someone help me understand what am I missing here, please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我的案例中,问题的根本原因是我有一台采用 M1 芯片的 Mac。 M1 芯片看不到任何 .NET 6 以下的 SDK。
The root cause of the issue in my case was that I have a Mac on the M1 chip. The M1 chip does not see any SDK below the .NET 6.