I'm trying to create a Telerik ASP .NET Core MVC Application (Grid Razor Pages) that uses .NET 5. However, there's not an option for .NET 5. Is this not possible?
2 Answers, 1 is accepted
answered on 20 Nov 2020, 10:22 AM
We are currently adding .NET 5 to our Visual Studio Extension template projects and they are expected to be available with R1 2020 release.
It is possible to upgrade a 3.1 template project to 5.0 with two changes as follows:
- Create a 3.1 Grid Razor Pages template - Open its csproj file and change the TargetFramework from netcoreapp3.1 to net5.0 - Open the Startup.cs file and remove the line - .SetCompatibilityVersion(CompatibilityVersion.Version_3_0)
Rebuild the project and that's it.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.