Skip to content

Commit 531ea2d

Browse files
committed
Cleanup - removed unused wrapper
1 parent bb39e0f commit 531ea2d

File tree

3 files changed

+0
-49
lines changed

3 files changed

+0
-49
lines changed

src/Agent/NewRelic/Agent/Core/Utilities/ExtensionsLoader.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public static void Initialize(string installPathExtensionsDirectory)
3737
{ "GenericHostWebHostBuilderExtensionsWrapper", Path.Combine(_installPathExtensionsDirectory, "NewRelic.Providers.Wrapper.AspNetCore.dll") },
3838
{ "NewRelic.Providers.Wrapper.AspNetCore.InvokeActionMethodAsync", Path.Combine(_installPathExtensionsDirectory, "NewRelic.Providers.Wrapper.AspNetCore.dll") },
3939

40-
{ "BuildCommonServicesWrapper6Plus", Path.Combine(_installPathExtensionsDirectory, "NewRelic.Providers.Wrapper.AspNetCore6Plus.dll") },
4140
{ "GenericHostWebHostBuilderExtensionsWrapper6Plus", Path.Combine(_installPathExtensionsDirectory, "NewRelic.Providers.Wrapper.AspNetCore6Plus.dll") },
4241
{ "InvokeActionMethodAsyncWrapper6Plus", Path.Combine(_installPathExtensionsDirectory, "NewRelic.Providers.Wrapper.AspNetCore6Plus.dll") },
4342

src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/AspNetCore6Plus/BuildCommonServicesWrapper6Plus.cs

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/Agent/NewRelic/Agent/Extensions/Providers/Wrapper/AspNetCore6Plus/Instrumentation.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ SPDX-License-Identifier: Apache-2.0
55
-->
66
<extension xmlns="urn:newrelic-extension">
77
<instrumentation>
8-
<tracerFactory name="BuildCommonServicesWrapper6Plus">
9-
<match assemblyName="Microsoft.AspNetCore.Hosting" className="Microsoft.AspNetCore.Hosting.WebHostBuilder" minVersion="6.0.0.0">
10-
<exactMethodMatcher methodName="BuildCommonServices" />
11-
</match>
12-
</tracerFactory>
138
<tracerFactory name="GenericHostWebHostBuilderExtensionsWrapper6Plus">
149
<match assemblyName="Microsoft.AspNetCore.Hosting" className="Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions" minVersion="6.0.0.0">
1510
<exactMethodMatcher methodName="ConfigureWebHost" />

0 commit comments

Comments
 (0)