Need More Info
Last Updated: 04 Apr 2025 13:00 by ADMIN
Kasim
Created on: 04 Mar 2025 03:29
Category: Installer and VS Extensions
Type: Bug Report
0
Telerik UI for ASP.Net Ajax Visual Studio Extensions have recovered from an error

While trying to update to latest version of Telerik ASP.Net Ajax, we are getting following exception:

Click here for more details

 

An error occurred while running the wizard.

Error executing custom action Telerik.Web.UI.VSX.Actions.MultiProjectUpdateReferencesAction: System.Runtime.InteropServices.COMException (0x80004005): This reference cannot be removed from the project because it is always referenced by the compiler.
   at VSLangProj.Reference.Remove()
   at Telerik.VSX.Internal.VisualStudio.VisualStudioThreadHelper.<>c__DisplayClass0_0.<<RunInMainThread>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Telerik.VSX.Internal.VisualStudio.VisualStudioThreadHelper.RunInMainThread(Action action)
   at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.RemoveReferences()
   at Telerik.VSX.ProjectConfigurators.ApplicationReferenceManager.UpdateReferences()
   at Telerik.VSX.Actions.UpdateReferencesAction.UpdateReferences(IProjectWrapUIComponents projectWrap)
   at Telerik.VSX.Actions.MultiProjectActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.Actions.MultiProjectUpdateReferencesActionBase`1.Execute(WizardContext wizardContext, IPropertyDataDictionary arguments)
   at Telerik.VSX.WizardEngine.ActionManager.ExecActions()

 

I would request to have the upgrade wizard handle it and show a graceful message instead of throwing the exception as it is doing right now.

3 comments
ADMIN
Maria
Posted on: 04 Apr 2025 13:00

Hеllo Kasim,

Thank you for the additional details. I attempted to reproduce the error you encountered while upgrading the project via the Upgrade Wizard, however, the upgrade was completed successfully on my end without any issues. 

This error might occur when running the Upgrade Wizard on a project that uses NuGet package references instead of assembly references. The wizard is only able to upgrade assembly references, so if your project relies on NuGet packages, I recommend updating them via the NuGet Package Manager in Visual Studio. You can refer to Installing Installing Telerik UI for ASP.NET AJAX from NuGet Feed which details how to set up the Telerik private NuGet feed and provides guidance on package management.

Additionally, you might want to try navigating to C:\Users\YourUsername\AppData\Local\Temp\Telerik\ShadowCopy (%temp%\Telerik) and deleting the ShadowCopy folder, then rerun the wizard again to see if that resolves the issue.

Let me know if this resolves the issue, do not hesitate to write back with any additional questions or concerns.

Regards,
Maria
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Kasim
Posted on: 11 Mar 2025 06:29
  • ASP.Net Ajax Webforms project
  • .Net Framework 4.8
  • From Telerik version 2024.4.1114 to 2025.1.218
ADMIN
Maria
Posted on: 10 Mar 2025 15:18

Hello Kasim,

Thank you for the provided details.

I’m investigating the issue, but I haven’t been able to reproduce it on my end. To better assist you, could you confirm the following?

1. Project Type: What type of project are you upgrading?
2. Target Framework: Which .NET Framework version is your project using?
3. Upgrade Path: You mentioned you are upgrading from an older version of Telerik ASP.NET AJAX. Could you specify the exact version you are upgrading from and to?

With this information, we can analyze the issue more effectively and determine if any compatibility concerns exist.

Looking forward to your response.

Regards,
Maria
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!