Loading

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

一、问题:

You must install or update .NET to run this application. App: D:\Projects\four_pl\BaseApi3\EDIGateway\bin\Debug\net5.0\EDIGateway.dll Architecture: x64 Framework: 'Microsoft.AspNetCore.App', version '5.0.0' (x64) .NET location: C:\Program Files\dotnet\ The following frameworks were found: 2.1.3 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] 2.2.8 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] 6.0.16 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] 7.0.5 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Learn about framework resolution: https://aka.ms/dotnet/app-launch-failed To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=5.0.0&arch=x64&rid=win10-x64

 

 

二、解决

大概意思是必须安装或更新 .NET 才能运行此应用程序。

官方下载地址

根据错误提示,下载相对应的版本

  问题解决

 

posted @ 2023-05-12 15:05  六弦汤姆  阅读(3138)  评论(0编辑  收藏  举报