This is a migrated thread and some comments may be shown as answers.

Can't create .NET 5 Telerik Application

2 Answers 33 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Iron
Veteran
Iron
Tim asked on 19 Nov 2020, 05:26 PM

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?

Thanks,

Tim

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 20 Nov 2020, 10:22 AM

Hi Tim,

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.

Regards,
Dimitar
Progress Telerik

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/.

0
Tim
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 20 Nov 2020, 01:35 PM
Thank you.
Tags
Installer and VS Extensions
Asked by
Tim
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Dimitar
Telerik team
Tim
Top achievements
Rank 1
Iron
Veteran
Iron
Share this question
or