.netcore6.0 发布后在liunx运行报错:you must install or update .net to run this application
1、报错信息如下:

2、因为安装.netcore时执行的是 sudo yum install dotnet-runtime-6.0 不包含 ASP.NET Core 支持的 .NET 运行时
3、重新.netcore 使用sudo yum install aspnetcore-runtime-6.0 包含支持.NET 运行时,然后执行程序,正常启动


浙公网安备 33010602011771号