相关疑难解决方法(0)

找不到指定的框架"Microsoft.AspNetCore.App",版本"2.1.0"

我试图将我的网络应用程序从.net core 2.0升级到.net core 2.1我做了:

1)安装Visual Studio Professional 2017预览版15.8.0预览版1.1
2)从这里安装.net核心2.1.3 RC1 SDK:https://www.microsoft.com/net/download/dotnet-core/sdk-2.1 .300-rc1
3)将我的所有aspnetcore nuget软件包更新到最新版本.

做完这两件事后,当我开始我的项目时,我得到了这个屏幕:

HTTP错误502.5 - 进程失败此问题的常见原因:

The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port 
Run Code Online (Sandbox Code Playgroud)

故障排除步骤

Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect 
Run Code Online (Sandbox Code Playgroud)

有关详细信息,请访问:https: //go.microsoft.com/fwlink/?LinkID = 808681

在我的ASP.NET核心Web服务器的输出窗口中,我得到了这个:

The …
Run Code Online (Sandbox Code Playgroud)

.net-core asp.net-core asp.net-core-2.0

27
推荐指数
3
解决办法
2万
查看次数

标签 统计

.net-core ×1

asp.net-core ×1

asp.net-core-2.0 ×1