我是.NET Core的初学者。我正在学习Lynda的“学习ASP.NET Core MVC基础”课程。当我尝试学习第1章,第5个视频的示例代码时,出现了以下错误:
HTTP Error 502.5 - Process Failure
Common causes of this issue:
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
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID=808681
经过查阅Stack Overflow上的一些问题,我发现这是由于练习文件中包含较旧的.NET Core版本(1.0)所致。但我的计算机上的Visual Studio已经安装了2.1.4版本。练习中的“wwwroot”文件夹也可能导致此问题。
似乎我唯一能解决此问题的方法是降级到1.0版本。但是我该如何操作呢?需要卸载Visual Studio Code并使用.NET Core V1.0重新安装吗?