7 instantiations of FailedToApplyEnvironmentException
Aspire.Hosting (6)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
380throw new FailedToApplyEnvironmentException(
Dcp\ContainerCreator.cs (2)
314throw new FailedToApplyEnvironmentException(); 322throw new FailedToApplyEnvironmentException($"Failed to apply configuration to container {cr.ModelResource.Name}", configuration.Exception);
Dcp\ExecutableCreator.cs (3)
63throw new FailedToApplyEnvironmentException( 97throw new FailedToApplyEnvironmentException(failureMessage, ex); 107throw new FailedToApplyEnvironmentException(failureMessage, ex);
Aspire.Hosting.Tests (1)
ResourceCommandServiceTests.cs (1)
395executeCommand: _ => throw new FailedToApplyEnvironmentException(diagnostic));
9 references to FailedToApplyEnvironmentException
Aspire.Hosting (3)
Dcp\DcpExecutor.cs (2)
1049catch (FailedToApplyEnvironmentException ex) 1260if (ex is not FailedToApplyEnvironmentException)
Dcp\ExecutableCreator.cs (1)
84catch (FailedToApplyEnvironmentException ex)
Aspire.Hosting.Tests (6)
Dcp\DcpExecutorTests.cs (6)
5554var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 8588var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 8721var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(