Я попытался обновить свое веб-приложение от.net core 2.0 до.net core 2.1. Я сделал:
1) Установите Visual Studio Professional 2017 Preview Version 15.8.0 Preview 1.1
2) Установил.net core 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
Действия по устранению неполадок:
Check the system event log for error messages Enable logging the application process' stdout messages Attach a debugger to the application process and inspect
Для получения дополнительной информации посетите страницу https://go.microsoft.com/fwlink/?LinkID=808681.
и в моем окне "Выход" с веб-сервера ASP.NET Core я получаю следующее:
The specified framework 'Microsoft.AspNetCore.App', version '2.1.0' was not found.
- Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\
- Installing .NET Core prerequisites might help resolve this problem:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
- The .NET Core framework and SDK can be installed from:
https://aka.ms/dotnet-download
- The following versions are installed:
2.1.0-preview2-final at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.0-rc1-final at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
It was not possible to find any compatible framework version
The specified framework 'Microsoft.AspNetCore.App', version '2.1.0' was not found.
- Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\
- Installing .NET Core prerequisites might help resolve this problem:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
- The .NET Core framework and SDK can be installed from:
https://aka.ms/dotnet-download
- The following versions are installed:
2.1.0-preview2-final at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
2.1.0-rc1-final at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]