Skip to content

RabbitMQ client breaks build with nuget dependency downgrade error #11888

@Depechie

Description

@Depechie

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When using the RabbitMQ client with the latest Aspire 9.5.1, I can no longer build my project due to nuget dependencies...
Both nuget packages

Aspire.RabbitMQ.Client
Aspire.RabbitMQ.Client.v7

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

> dotnet build                             
    /Users/depechie/Projects/OpenTelemetryGrafana/code/otel.QueueCommon/otel.QueueCommon.csproj : error NU1605: 
      Warning As Error: Detected package downgrade: Microsoft.Extensions.Hosting.Abstractions from 9.0.9 to 8.0.1. Reference the package directly from the project to select a different version. 
       otel.QueueCommon -> Aspire.RabbitMQ.Client 9.5.1 -> Microsoft.Extensions.DependencyInjection.AutoActivation 9.9.0 -> Microsoft.Extensions.Hosting.Abstractions (>= 9.0.9) 
       otel.QueueCommon -> Aspire.RabbitMQ.Client 9.5.1 -> Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)

.NET Version info

Aspire version 9.5.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions