Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuget unable to resolve dependency 'OpenTelemetry.Exporter.Prometheus.HttpListener' #4002

Open
brodrigz opened this issue Feb 3, 2025 · 1 comment
Assignees
Labels

Comments

@brodrigz
Copy link

brodrigz commented Feb 3, 2025

Bug Report

Symptom

Unable to install 'OpenTelemetry.AutoInstrumentation' on a Net 4.8 project via nuget, following error:
Unable to resolve dependency 'OpenTelemetry.Exporter.Prometheus.HttpListener'. Source(s) used: 'nuget.org', 'Microsoft Visual Studio Offline Packages'.

Expected behavior
Package installs normally via nuget

Runtime environment (please complete the following information):

  • OpenTelemetry Automatic Instrumentation version: [e.g. 1.9.0]
  • .NET version: [e.g. .NET Framework 4.8.1]

Reproduce

  1. Open a net framework project with target >= 4.8
  2. Install OpenTelemetry.AutoInstrumentation via nuget GUI
@zacharycmontoya
Copy link
Contributor

Hi @brodrigz , thank you for the report. Can you confirm what version of NuGet you are using, and whether this is an SDK-style project? This may be an issue with an older version of NuGet and its dependency resolution logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants