Skip to content

Commit 3192adf

Browse files
github-actions[bot]KB Bot
and
KB Bot
authored
Added new kb article vsx-resolve-error-aspnet-ajax-solution-update (#554)
Co-authored-by: KB Bot <[email protected]>
1 parent 446675e commit 3192adf

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Resolving Error During ASP.NET AJAX Solution Update with Visual Studio Extensions
3+
description: How to fix the error encountered when updating an ASP.NET AJAX solution using Telerik UI for ASP.NET AJAX Visual Studio Extensions.
4+
type: troubleshooting
5+
page_title: Fixing Upgrade Wizard Error in ASP.NET AJAX Projects with NuGet Packages
6+
slug: vsx-resolve-error-aspnet-ajax-solution-update
7+
tags: installer,vs extensions,asp.net ajax,visual studio,nuget,upgrade wizard
8+
res_type: kb
9+
ticketid: 1654377
10+
---
11+
12+
## Environment
13+
14+
| Product | Installer and VS Extensions for ASP.NET AJAX |
15+
| --- | --- |
16+
| Version | all |
17+
18+
## Description
19+
When attempting to update an ASP.NET AJAX solution using Telerik UI for ASP.NET AJAX Visual Studio Extensions, you might encounter the error: "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."
20+
21+
This issue generally occurs under two conditions: when the project uses NuGet package references instead of assembly references, or when the installation of the product version currently referenced in the project has been removed.
22+
23+
## Cause
24+
The Upgrade Wizard is designed to work with assembly references and cannot proceed with NuGet package references. Alternatively, the error may arise if the referenced version of Telerik UI for ASP.NET AJAX is not installed on the machine.
25+
26+
## Solution
27+
28+
- **For Projects with NuGet Package References:**
29+
1. Bypass the Upgrade Wizard for updating Telerik references.
30+
2. Utilize the NuGet Package Manager in Visual Studio to manage and update the Telerik UI for ASP.NET AJAX packages.
31+
3. Follow the guidelines for setting up the Telerik private NuGet feed as detailed in [this documentation](https://docs.telerik.com/devtools/aspnet-ajax/getting-started/first-steps-nuget).
32+
33+
- **For Missing Referenced Version Installation:**
34+
1. Remove all Telerik UI for ASP.NET AJAX references from the project.
35+
2. Clean the solution to remove any temporary files and cache.
36+
3. Use the [Telerik UI for ASP.NET AJAX Convert Wizard](https://docs.telerik.com/devtools/aspnet-ajax/integration/visual-studio/visual-studio-extensions/convert-project) to add the necessary assemblies with the updated version back into the project.
37+
38+
## See Also
39+
- [First Steps with Telerik UI for ASP.NET AJAX and NuGet](https://docs.telerik.com/devtools/aspnet-ajax/getting-started/first-steps-nuget)
40+
- [Converting Projects with Telerik UI for ASP.NET AJAX Convert Wizard](https://docs.telerik.com/devtools/aspnet-ajax/integration/visual-studio/visual-studio-extensions/convert-project)
41+

0 commit comments

Comments
 (0)