ASP.NET Core 2.1 was officially released on May 30, 2018, while Telerik UI for ASP.NET Core R2 2018 was released earlier - on May 16, 2018. Our R2 2018 templates are targeting 'Microsoft.AspNetCore.All', version '2.1.0-preview1-final', which was available at the time we prepared this release.
Currently all Telerik UI for ASP.NET Core templates configured for ASP.NET Core 2.1 will face "HTTP Error 502.5 - Process Failure" error, when run on a machine with the official ASP.NET Core 2.1 release version. In order to extract more meaningful description of the issue, we should change the stdoutLogEnabled key in project's web.config to true and create a logs folder at project's root level:
2.1.0 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Following the article Migrate from ASP.NET Core 2.0 to 2.1 we have fixed the issue by changing template projects configurations to match the setup required by the official ASP.NET Core 2.1 version. The fixed templates will be available in R2 2018 SP1 release in a couple of weeks. While part of the steps were already implemented as part of migrating from 2.0 to 2.1 preview, there are still some changes needed between 2.1 preview and 2.1 official.
Workaround: In order to fix this template and the rest of the templates, here are the changes required:
1. For TargetFramework ASP.NET Core projects - in .csproj file:
- Replace the Microsoft.AspNetCore.All reference with Microsoft.AspNetCore.App: