Skip to content

Commit b34c6d3

Browse files
committed
edits
1 parent 331ebe0 commit b34c6d3

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

articles/azure-monitor/app/remove-application-insights.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 04/06/2020
1010

1111
This article will show you how to remove the ASP.NET and ASP.NET Core Application Insights SDK in Visual Studio.
1212

13-
To remove Application Insights, you'll need to remove the NuGet packages and references from the API in your application. You can remove NuGet packages by using the Package Management Console or Manage NuGet Solution in Visual Studio. The following sections will show two ways to remove NuGet Packages and what was automatically added in your project. Be sure to confirm the files added and areas with in your own code in which you made calls to the API are removed.
13+
To remove Application Insights, you'll need to remove the NuGet packages and references from the API in your application. You can uninstall NuGet packages by using the Package Management Console or Manage NuGet Solution in Visual Studio. The following sections will show two ways to remove NuGet Packages and what was automatically added in your project. Be sure to confirm the files added and areas with in your own code in which you made calls to the API are removed.
1414

1515
## Uninstall using the Package Management Console
1616

@@ -21,7 +21,7 @@ To remove Application Insights, you'll need to remove the NuGet packages and ref
2121
![In the top menu click Tools > NuGet Package Manager > Package Manager Console](./media/remove-application-insights/package-manager.png)
2222

2323
> [!NOTE]
24-
> If trace collection is enabled you need to first uninstall Microsoft.ApplicationInsights.TraceListener. Enter `Uninstall-package Microsoft.ApplicationInsights.TraceListener` then follow the steps below to remove Microsoft.ApplicationInsights.Web
24+
> If trace collection is enabled you need to first uninstall Microsoft.ApplicationInsights.TraceListener. Enter `Uninstall-package Microsoft.ApplicationInsights.TraceListener` then follow the step below to remove Microsoft.ApplicationInsights.Web.
2525
2626
1. Enter the following command: `Uninstall-Package Microsoft.ApplicationInsights.Web -RemoveDependencies`
2727

@@ -36,6 +36,7 @@ To remove Application Insights, you'll need to remove the NuGet packages and ref
3636
![In the top menu click Tools > NuGet Package Manager > Package Manager Console](./media/remove-application-insights/package-manager.png)
3737

3838
1. Enter the following command: ` Uninstall-Package Microsoft.ApplicationInsights.AspNetCore -RemoveDependencies`
39+
3940
After entering the command, the Application Insights package and all of its dependencies will be uninstalled from the project.
4041

4142
---
@@ -44,10 +45,11 @@ To remove Application Insights, you'll need to remove the NuGet packages and ref
4445

4546
# [.NET](#tab/net)
4647

47-
1. In the *Solution Explore* on the right, right click on **Solution** and select **Manage NuGet Packages for Solution**
48+
1. In the *Solution Explorer* on the right, right click on **Solution** and select **Manage NuGet Packages for Solution**.
49+
4850
You'll then see a screen that allows you to edit all the NuGet packages that are part of the project.
4951

50-
![Right click Solution, in the Solution Explore, then select Manage NuGet Packages for Solution](./media/remove-application-insights/manage-nuget-framework.png)
52+
![Right click Solution, in the Solution Explorer, then select Manage NuGet Packages for Solution](./media/remove-application-insights/manage-nuget-framework.png)
5153

5254
> [!NOTE]
5355
> If trace collection is enabled you need to first uninstall Microsoft.ApplicationInsights.TraceListener without remove dependency selected and then follow the steps below to uninstall Microsoft.ApplicationInsights.Web with remove dependency selected.
@@ -58,23 +60,23 @@ To remove Application Insights, you'll need to remove the NuGet packages and ref
5860

5961
Under *Uninstall Options*, select the checkbox next to *Remove dependencies*.
6062

61-
1. Select **Uninstall**
63+
1. Select **Uninstall**.
6264

6365
![Check remove dependencies, then uninstall](./media/remove-application-insights/uninstall-framework.png)
6466

65-
A dialog box will display that shows all of the dependencies to be removed from the application. Select **ok** to remove them.
67+
A dialog box will display that shows all of the dependencies to be removed from the application. Select **ok** to uninstall.
6668

6769
![Check remove dependencies, then uninstall](./media/remove-application-insights/preview-uninstall-framework.png)
6870

69-
1. After everything is uninstalled, you may still see  "ApplicationInsights.config" and "AiHandleErrorAttribute.cs" in the *Solution Explore*. You can delete the two files manually.
71+
1. After everything is uninstalled, you may still see  "ApplicationInsights.config" and "AiHandleErrorAttribute.cs" in the *Solution Explorer*. You can delete the two files manually.
7072

7173
# [.NET Core](#tab/netcore)
7274

73-
1. In the *Solution Explore* on the right, right click on **Solution** and select **Manage NuGet Packages for Solution**
75+
1. In the *Solution Explorer* on the right, right click on **Solution** and select **Manage NuGet Packages for Solution**.
7476

7577
You'll then see a screen that allows you to edit all the NuGet packages that are part of the project.
7678

77-
![Right click Solution, in the Solution Explore, then select Manage NuGet Packages for Solution](./media/remove-application-insights/manage-nuget-core.png)
79+
![Right click Solution, in the Solution Explorer, then select Manage NuGet Packages for Solution](./media/remove-application-insights/manage-nuget-core.png)
7880

7981
1. Click on "Microsoft.ApplicationInsights.AspNetCore" package. On the right, check the checkbox next to *Project* to select all projects then select **Uninstall**.
8082

@@ -84,7 +86,7 @@ To remove Application Insights, you'll need to remove the NuGet packages and ref
8486

8587
## What is created when you add Application Insights
8688

87-
When you add Application Insights to your project, it creates files and adds code to some of your files. Only removing the NuGet Packages won't always remove these files and code. To fully remove Application Insights, you should check and manually remove the added code or files from you projects along with any API calls you added in your project.
89+
When you add Application Insights to your project, it creates files and adds code to some of your files. Solely uninstalling the NuGet Packages will not always discard the files and code. To fully remove Application Insights, you should check and manually delete the added code or files along with any API calls you added in your project.
8890

8991
# [.NET](#tab/net)
9092

0 commit comments

Comments
 (0)