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