1 write to ErrorMessage
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
393
ErrorMessage
= $"The dev tunnel '{tunnelResource.Name}' has not been associated with '{endpointName}' on resource '{targetResource.Name}'. Use 'WithReference({targetResource.Name})' on the dev tunnel to expose this endpoint."
1 reference to ErrorMessage
Aspire.Hosting (1)
ApplicationModel\EndpointReference.cs (1)
22
public EndpointAnnotation EndpointAnnotation => GetEndpointAnnotation() ?? throw new InvalidOperationException(
ErrorMessage
?? $"The endpoint `{EndpointName}` is not defined for the resource `{Resource.Name}`.");