Skip to content

Commit c1c2c3a

Browse files
committed
fixing links to screenshots and tabs
1 parent a688de7 commit c1c2c3a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ When you add Application Insights Telemetry to a Visual Studio ASP.NET Core temp
193193

194194
1. After everything is uninstalledyou may still see  "ApplicationInsights.config" and "AiHandleErrorAttribute.vb" in the *Solution Explore*You can delete the two files manually.
195195

196-
# [.NET Core](#tab/.netcore)
196+
# [.NET Core](#tab/netcore)
197197

198198
1. In the *Solution Explore* on the rightright click on **Solution** and select **Manage NuGet Packages for Solution*
199199

@@ -213,29 +213,28 @@ When you add Application Insights Telemetry to a Visual Studio ASP.NET Core temp
213213

214214
- Unable to install because another NuGet packages depends on it error.
215215

216-
You will need to uninstall the NuGet package or packages that depend on "Microsoft.ApplicationInsights.Web" first. If you have multiple packages that depend on each other, you need to start with the package that nothing depends on first.
216+
You will need to uninstall the NuGet package or packages that depend on "Microsoft.ApplicationInsights.Web" first. If you have multiple packages that depend on each other, you need to start with the package that nothing depends on first.
217217

218218
For example, if you have trace collection enabled you may receive an error like the one below when uninstalling Microsoft.ApplicationInsights.Web.
219219

220-
![Error of being able to uninstall Microsoft.ApplicationInsights.Web because Microsoft.ApplicationInsights.TraceListener depends on it ](/media/remove-application-insights/uninstall-error1.png)
220+
![Error of being able to uninstall Microsoft.ApplicationInsights.Web because Microsoft.ApplicationInsights.TraceListener depends on in](./media/remove-application-insights/uninstall-error1.png)
221221

222222
If that is case you will first uninstall the "Microsoft.ApplicationInsights.TraceListener" package, and then try uninstalling the "Microsoft.ApplicationInsights.Web" again.
223223

224224
If you end up with another error that you can't uninstall "Microsoft.ApplicationInsights.TraceListener" because another package or packages depend on it you can look through those packages and find one that doesn't does not depend on anything to be uninstalled first.
225225

226-
![Error of being able to uninstall Microsoft.ApplicationInsights.TraceListener because Microsoft.ApplicationInsights.Dependency Collector, Microsoft.ApplicationInsights.PerfCounterCollector, and Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel all depend on Microsoft.ApplicationInsights.WindowsServer depends on it](/media/remove-application-insights/uninstall-error2.png)
226+
![Error of being able to uninstall Microsoft.ApplicationInsights.TraceListener because Microsoft.ApplicationInsights.Dependency Collector, Microsoft.ApplicationInsights.PerfCounterCollector, and Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel all depend on Microsoft.ApplicationInsights.WindowsServer depends on it](./media/remove-application-insights/uninstall-error2.png)
227227

228228
However in this case Microsoft.ApplicationInsights.Dependency Collector, Microsoft.ApplicationInsights.PerfCounterCollector, and Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel all depend on Microsoft.ApplicationInsights.WindowsServer but Microsoft.ApplicationInsights.WindowsServer depends on Microsoft.ApplicationInsights.Web.
229229

230230
Go back to uninstall Microsoft.ApplicationInsights.Web but this time in *Uninstall Options* select "Force uninstall even if there are dependencies on it" ("Remove dependencies" should still be selected). This will uninstall the package even if it's still being referenced in the project. This option could lead to broken reference in your project; if that happens you make need to [reinstall](https://docs.microsoft.com/nuget/consume-packages/reinstalling-and-updating-packages) those other packages. Then uninstall "Microsoft.ApplicationInsights.TraceListener".
231231

232-
![Select force uninstall](/media/remove-application-insights/force-uninstall.png)
232+
![Select force uninstall](./media/remove-application-insights/force-uninstall.png)
233233

234234
- How to uninstall Microsoft.ApplicationInsights.TraceListener
235235

236236
If you would like to only uninstall Microsoft.ApplicationInsights.TraceListener, follow the steps in "Unable to uninstall because another NuGet package depends on it error" but instead force uninstalling Microsoft.ApplicationInsights.Web, force uninstall "Microsoft.ApplicationInsights.TraceListener".
237237

238-
-
239238

240239
# [.NET Core](#tab/netcore)
241240

0 commit comments

Comments
 (0)