Hey
I'm trying to connect to container together with WithReference. But I'm not able to get the AllocatedEndpointAnnotation.
Here is a very simple example. (I'm aware that this would not make a lot of sense ;) )
var redis = builder.AddRedisContainer("redis");
var rabbitMq = builder.AddRabbitMQContainer("rabbitmq");
rabbitMq.WithReference(redis);
When I start the application locally on my mac. I get the error: Aspire.Hosting.DistributedApplicationException: Redis resource does not have endpoint annotation.
This is the same behavior when I try to reference my custom containers.
Hey
I'm trying to connect to container together with
WithReference. But I'm not able to get the AllocatedEndpointAnnotation.Here is a very simple example. (I'm aware that this would not make a lot of sense ;) )
When I start the application locally on my mac. I get the error:
Aspire.Hosting.DistributedApplicationException: Redis resource does not have endpoint annotation.This is the same behavior when I try to reference my custom containers.