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
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: gdi/get-data-in/application/otel-dotnet/troubleshooting/common-dotnet-troubleshooting.rst
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,37 @@ The thread sampler resumes its activity when any of the buffers is empty.
190
190
191
191
To avoid the loss of profiling data due to full buffers, check the configuration and the communication layer between your process and the Splunk Distribution of OpenTelemetry Collector.
192
192
193
+
Assembly version conflicts
194
+
==========================
195
+
196
+
When installing the .NET instrumentation, you might encounter dependency version conflicts that result in error messages such as:
197
+
198
+
.. code-block:: bash
199
+
200
+
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
at Microsoft.AspNetCore.Builder.WebApplicationBuilder..ctor(WebApplicationOptions options, Action`1 configureDefaults)
204
+
at Microsoft.AspNetCore.Builder.WebApplication.CreateBuilder(String[] args)
205
+
at Program.<Main>$(String[] args)in /Blog.Core/Blog.Core.Api/Program.cs:line 26
206
+
207
+
To resolve this issue, :ref:`install the .NET instrumentation using the NuGet packages <otel-dotnet-nuget-pkg>`, as NuGet automatically installs the correct dependencies that the package requires.
208
+
209
+
Alternatively, you can manually install the conflicting packages to your project.
For more information about troubleshooting assembly version conflicts, see the `OpenTelemetry .NET instrumentation troubleshooting <https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/main/docs/troubleshooting.md#assembly-version-conflicts>`__ guidance.
0 commit comments