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
Write-Host"Unregistering OpenTelemetry for IIS ..."
38
+
Unregister-OpenTelemetryForIIS
39
+
}
40
+
34
41
Write-Host"Splunk Distribution of OpenTelemetry .NET uninstalled successfully"
35
42
} else {
36
43
Write-Host"Nothing to do since Splunk Distribution of OpenTelemetry .NET is not installed"
@@ -40,6 +47,10 @@ if ($uninstall) {
40
47
Write-Host"Nothing to do since Splunk Distribution of OpenTelemetry .NET is already installed. OpenTelelemetry .NET SDK version: $otelSDKInstallVersion"
41
48
} else {
42
49
Write-Host"Installing Splunk Distribution of OpenTelemetry .NET ..."
50
+
51
+
# Avoid issues with NGEN assemblies by forcing SingleDomain mode.
52
+
RUN Set-ItemProperty-Path "HKLM:\\SOFTWARE\\Microsoft\\.NETFramework"-Name "LoaderOptimization"-Value 1-Type DWord
0 commit comments