一、下载安装.Net 8运行环境(VSCode for Mac)
-
下载Visual Studio Code for mac并安装Extensions
-
使用Visual Studio Code for mac 安装.Net 8 SDK并新建Blazor Server项目
-
按下shift+command+p搜索 .NET:Install New .NET SDK安装最新.Net 8版本
-
等待.Net 8安装完成
-
期间会弹出安装程序,傻瓜式安装,一直点继续即可:
-
检查安装:
dotnet --list-sdks
6.0.413 [/usr/local/share/dotnet/sdk] 6.0.414 [/usr/local/share/dotnet/sdk] 6.0.417 [/usr/local/share/dotnet/sdk] 6.0.422 [/usr/local/share/dotnet/sdk] 7.0.400 [/usr/local/share/dotnet/sdk] 8.0.303 [/usr/local/share/dotnet/sdk]
-