9 instantiations of FailedToApplyEnvironmentException
Aspire.Hosting (8)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
380throw new FailedToApplyEnvironmentException(
Dcp\ContainerCreator.cs (2)
222throw new FailedToApplyEnvironmentException(); 230throw new FailedToApplyEnvironmentException($"Failed to apply configuration to container {cr.ModelResource.Name}", configuration.Exception);
Dcp\ExecutableCreator.cs (5)
70throw new FailedToApplyEnvironmentException( 104throw new FailedToApplyEnvironmentException(failureMessage, ex); 114throw new FailedToApplyEnvironmentException(failureMessage, ex); 149throw new FailedToApplyEnvironmentException( 156throw new FailedToApplyEnvironmentException(
Aspire.Hosting.Tests (1)
ResourceCommandServiceTests.cs (1)
396executeCommand: _ => throw new FailedToApplyEnvironmentException(diagnostic));
12 references to FailedToApplyEnvironmentException
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (2)
1089catch (FailedToApplyEnvironmentException ex) 1301if (ex is not FailedToApplyEnvironmentException)
Dcp\ExecutableCreator.cs (2)
91catch (FailedToApplyEnvironmentException ex) 450catch (FailedToApplyEnvironmentException ex)
Aspire.Hosting.Tests (8)
Dcp\DcpExecutorTests.cs (6)
6040var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 9132var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 9265var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(
Dcp\ExecutableLaunchPlanTests.cs (2)
116var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(