9 instantiations of FailedToApplyEnvironmentException
Aspire.Hosting (8)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
383throw 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)
397executeCommand: _ => throw new FailedToApplyEnvironmentException(diagnostic));
12 references to FailedToApplyEnvironmentException
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (2)
1100catch (FailedToApplyEnvironmentException ex) 1315if (ex is not FailedToApplyEnvironmentException)
Dcp\ExecutableCreator.cs (2)
91catch (FailedToApplyEnvironmentException ex) 457catch (FailedToApplyEnvironmentException ex)
Aspire.Hosting.Tests (8)
Dcp\DcpExecutorTests.cs (6)
6474var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 9566var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 9699var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(
Dcp\ExecutableLaunchPlanTests.cs (2)
116var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(