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

Failed to execute command | When trying to convert ASP.NET Core Project to a Telerik Project

1 Answer 243 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
WEBSRFR
Top achievements
Rank 1
WEBSRFR asked on 19 Dec 2020, 09:34 PM
I have an ASP.NET Core (.NET 5) project open in Visual Studio 2019 (16.8.3) but when I try to convert it to a Telerik Project, I receive the following error. What's the best way to solve this?

Failed to execute command.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.KendoUI.ASP.NET.Core.VSX.Wizards.ConvertWizard.GetPropertyValue(String propertyName)
   at Telerik.VSX.WizardEngine.Controls.WizardControlBase.PopulateCollectedValues(IPropertyDataDictionary gatheredData)
   at Telerik.VSX.WizardFramework.Pages.DynamicPageController.GetData()
   at Telerik.WizardFramework.Wizard.GetCurrentPageData()
   at Telerik.WizardFramework.Wizard.UpdateNavigation()
   at Telerik.WizardFramework.Wizard.EnsureInitialized()
   at Telerik.VSX.WizardEngine.ScenarioManagement.ScenarioDefinitionExecutor.CreateWizard(IWizardContext wizardControlContext, IDispatcher dispatcher, IWizardUI ui)
   at Telerik.VSX.WizardEngine.ScenarioManagement.ScenarioDefinitionExecutor.CollectData(IDispatcher dispatcher)
   at Telerik.VSX.WizardEngine.ScenarioManagement.ScenarioDefinitionExecutor.CollectData()
   at Telerik.VSX.ProjectManagement.StreamlinedProjectConfiguration.LaunchWizard(ProjectConfigurationType options)
   at Telerik.VSX.ProjectManagement.StreamlinedProjectConfiguration.LaunchWizard(ProjectConfigurationType options, PrepareWizardDelegate prepareWizardDelegate, CheckPrerequisitesDelegate checkPrerequisites)
   at Telerik.KendoUI.ASP.NET.Core.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartConvertWizard()
   at Telerik.KendoUI.ASP.NET.Core.VSPackage.CommandExecutor.Execute(UInt32 commandId)
   at Telerik.VSX.VSPackage.PackageBase.CommandCallback(Object sender, EventArgs e)

1 Answer, 1 is accepted

Sort by
0
Nikolay Mishev
Telerik team
answered on 23 Dec 2020, 02:24 PM

Hello Sanjaya,

Thank you for contacting us.

Currently, the Convert Project wizard for UI for ASP.NET Core is not compatible with .NET 5 based projects and should not be available. So with that said thank you for reporting this bug to us. This is already logged into our backlog and it should be fixed with one of our next releases and the option should be hidden until we add the .NET 5 support.

As a token of gratitude for reporting this to us, I have updated your Telerik Points.

Regards,
Nikolay Mishev
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/.

Cory
Top achievements
Rank 1
commented on 10 Aug 2022, 05:28 PM

Hi there,

has this been resolved. I'm experiencing the same thing but with asp core 6. Please advise.

Nikola
Telerik team
commented on 12 Aug 2022, 07:34 AM

Hello Cory,

The issue in this post is a bit different from what you were describing in the support ticket you raised. Could you please confirm whether the issue is resolved or if you are experiencing the issue described above?

Thank you in advance.

Tags
General Discussions
Asked by
WEBSRFR
Top achievements
Rank 1
Answers by
Nikolay Mishev
Telerik team
Share this question
or