You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If trace collection is enabled, you need to first uninstall Microsoft.ApplicationInsights.TraceListener. Enter `Uninstall-package Microsoft.ApplicationInsights.TraceListener`. Then follow the next steps to remove Microsoft.ApplicationInsights.Web.
26
+
> If trace collection is enabled, you need to first uninstall Microsoft.ApplicationInsights.TraceListener. Enter `Uninstall-package Microsoft.ApplicationInsights.TraceListener`. Then follow the next step to remove Microsoft.ApplicationInsights.Web.
27
27
28
-
1. Enter the following command: `Uninstall-Package Microsoft.ApplicationInsights.Web -RemoveDependencies`
28
+
1. Enter the following command:<br>`Uninstall-Package Microsoft.ApplicationInsights.Web -RemoveDependencies`
1. Enter the following command: `Uninstall-Package Microsoft.ApplicationInsights.AspNetCore -RemoveDependencies`
40
+
1. Enter the following command:<br>`Uninstall-Package Microsoft.ApplicationInsights.AspNetCore -RemoveDependencies`
41
41
42
-
Afteryou enter thecommand, theApplicationInsightspackageandallitsdependenciesareuninstalledfromthe project.
42
+
Afteryou enter thecommand, theApplicationInsightspackageandallitsdependenciesareuninstalledfromthe project.
43
43
44
44
---
45
45
46
46
## Uninstall by using the Visual Studio NuGet UI
47
47
48
48
# [.NET](#tab/net)
49
49
50
-
1. IntheSolutionExplorer on theright,right-click**Solution**andselect**ManageNuGetPackagesforSolution**.
50
+
1. IntheSolutionExplorer on theright,right-click**Solution**andselect**ManageNuGetPackagesforSolution**.
51
51
52
-
On the screen that appears, you can edit all the NuGet packages that are part of the project.
52
+
A screen appears where you can edit all the NuGet packages that are part of the project.
53
53
54
54

55
55
56
56
> [!NOTE]
57
-
> If trace collection is enabled, you need to first uninstall Microsoft.ApplicationInsights.TraceListener without removing the dependencies selected. Then follow the next steps to uninstall Microsoft.ApplicationInsights.Web with remove dependencies selected.
57
+
> If trace collection is enabled, you need to first uninstall Microsoft.ApplicationInsights.TraceListener without removing the dependencies selected. Then follow the next steps to uninstall Microsoft.ApplicationInsights.Web with **Remove dependencies** selected.
58
58
59
-
1. Selectthe **Microsoft.ApplicationInsights.Web**package. On theright,selectthe**Project**checkbox toselectall projects.
59
+
1. Selectthe **Microsoft.ApplicationInsights.Web**package. On theright,selectthe**Project**checkbox toselectall projects.
Under **Uninstall Options**, select the **Remove dependencies** checkbox.
64
64
65
65
1. Select **Uninstall**.
66
66
67
67

68
68
69
-
1. Adialogappearsthatshowsallthedependencies to be removedfromtheapplication. Select**OK** to uninstall.
69
+
1. Adialogappearsthatshowsallthedependencies to be removedfromtheapplication. Select**OK** to uninstall.
70
70
71
71

72
72
73
-
1.Aftereverything is uninstalled,youmightstillsee**ApplicationInsights.config**and**AiHandleErrorAttribute.cs** intheSolutionExplorer.Youcandeletethetwofiles manually.
73
+
1. Aftereverything is uninstalled,youmightstillsee**ApplicationInsights.config**and**AiHandleErrorAttrobute.cs** intheSolutionExplorer.Youcandeletethetwofiles manually.
74
74
75
75
# [.NET Core](#tab/netcore)
76
76
77
-
1. IntheSolutionExplorer on theright,right-click**Solution**andselect**ManageNuGetPackagesforSolution**.
77
+
1. IntheSolutionExplorer on theright,right-click**Solution**andselect**ManageNuGetPackagesforSolution**.
78
78
79
79
A screen appears where you can edit all the NuGet packages that are part of the project.
80
80
81
81

82
82
83
-
1. Select the **Microsoft.ApplicationInsights.AspNetCore** package. On the right, selectthe**Project**checkbox to select all projects and then select **Uninstall**.
83
+
1. Select the **Microsoft.ApplicationInsights.AspNetCore** package. On the right, selectthe**Project**checkbox to select all projects and then select **Uninstall**.
84
84
85
85

0 commit comments