TypeLoadException you're seeing may be caused by a version mismatch between the
Microsoft.AspNetCore.Mvc.ViewFeatures assembly and the Kendo library that you're using.
To resolve this issue, you can try the following steps:
Make sure that you have the latest version of the Kendo library that's compatible with .NET 6. You can check the Kendo UI for ASP.NET Core version history page to see which version supports .NET 6.
Check if there are any updates available for the
Microsoft.AspNetCore.Mvc.ViewFeatures package. You can do this by opening your project in Visual Studio and navigating to the NuGet Package Manager. From there, you can search for
Microsoft.AspNetCore.Mvc.ViewFeatures and check if there are any available updates.
If updating the packages doesn't solve the issue, you can try cleaning and rebuilding your solution. In Visual Studio, you can do this by selecting "Clean Solution" from the "Build" menu, and then selecting "Rebuild Solution" from the same menu.
If the issue still persists, you can try removing the Kendo library from your project and then re-installing it. To do this, you can open your project in Visual Studio, navigate to the NuGet Package Manager, and then uninstall the Kendo library. After that, you can re-install the latest version of the library that's compatible with .NET 6.