9 instantiations of FailedToApplyEnvironmentException
Aspire.Hosting (8)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
394throw new FailedToApplyEnvironmentException(
Dcp\ContainerCreator.cs (2)
221throw new FailedToApplyEnvironmentException(); 229throw 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)
1023catch (FailedToApplyEnvironmentException ex) 1238if (ex is not FailedToApplyEnvironmentException)
Dcp\ExecutableCreator.cs (2)
91catch (FailedToApplyEnvironmentException ex) 457catch (FailedToApplyEnvironmentException ex)
Aspire.Hosting.Tests (8)
Dcp\DcpExecutorTests.cs (6)
6990var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 10474var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>( 10607var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(
Dcp\ExecutableLaunchPlanTests.cs (2)
116var exception = await Assert.ThrowsAsync<FailedToApplyEnvironmentException>(