Completed
Last Updated: 22 Jun 2023 14:40 by ADMIN
John
Created on: 30 Mar 2021 11:00
Category: UI for ASP.NET MVC
Type: Bug Report
9
Scaffolder extensin for UI for ASP.NET MVC does not work in Visual Studio 2019 version 16.9.2

Bug report

Reproduction of the problem

  1. Visual Studio 2019 version 16.8.3 (or another version the extension works with)
  2. Install the Scaffolder extension.
  3. In a sample Terlerik ASP.NET MVC Application verify that the Kendo Scaffolder and its configuration panel work as expected.
  4. Update Visual Studio to version 16.9.2.

Current behavior

The Kendo Scaffolder is no longer available in the Add New Scaffolded Item dialog.

Expected/desired behavior

The Kendo Scaffolder works as intended.

Environment

  • Kendo UI version: 2021.1.224
  • jQuery version: x.y
  • Browser: [all]
2 comments
ADMIN
Ivan Danchev
Posted on: 22 Jun 2023 14:35

Hello,

Since the original scaffolding issue was not resolved by Microsoft, we've decided to implement our own scaffolder. It is available for UI for ASP.NET MVC since the R2 2023 release (version 2023.2.606).

To use it, we recommend installing the latest version of the Telerik Extension for Visual Studio: https://docs.telerik.com/aspnet-mvc/vs-integration/introduction#installing-the-extensions

You will then be able to add a new scaffolded item, by right-clicking the project in Visual Studio, hovering "Telerik UI for ASP.NET MVC" and selecting "Add new Scaffolded Item" from the context menu (see the attached screenshot).

Regards,
Ivan Danchev
Progress Telerik

As of R2 2023, the default icon type will be SVG instead of Font. See this blogpost for more information.

Attached Files:
ADMIN
Ivan Danchev
Posted on: 26 Oct 2022 10:36

Hello,

Our investigation of the issue concluded that the problem is in the newer versions of Visual Studio and not in our scaffolder. The issue is still pending, because we are awaiting Microsoft to fix the scaffolding issue introduced in Visual Studio version 16.9.0+.

For more details see gyankov's comments in this Github issue: https://github.com/telerik/kendo-ui-core/issues/6356

The Visual Studio update broke not just ours, but many other third party scaffolders, and has been reported to Microsoft: https://developercommunity.visualstudio.com/t/visual-studio-2019-version-1691-resulted-in-custom/1371519

The fix Microsoft suggested in their forums is adequate for VS 2019, but breaks the scaffolders in VS 2022. So we have logged a separate issue in Microsoft's Feedback Portal specifically for the issue with VS 2022: https://developercommunity.visualstudio.com/t/Custom-scaffolder-not-working-in-VS-2022/10025016?viewtype=all&space=8&entry=suggestion

So far we don't have a time frame from Microsoft that would indicate when the issue is going to be resolved.

Regards,
Ivan Danchev
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/.