9 instantiations of FailedToApplyEnvironmentException
Aspire.Hosting (8)
ApplicationModel\ExecutableLaunchRecipe.cs (1)
394
throw new
FailedToApplyEnvironmentException
(
Dcp\ContainerCreator.cs (2)
221
throw new
FailedToApplyEnvironmentException
();
229
throw new
FailedToApplyEnvironmentException
($"Failed to apply configuration to container {cr.ModelResource.Name}", configuration.Exception);
Dcp\ExecutableCreator.cs (5)
70
throw new
FailedToApplyEnvironmentException
(
104
throw new
FailedToApplyEnvironmentException
(failureMessage, ex);
114
throw new
FailedToApplyEnvironmentException
(failureMessage, ex);
149
throw new
FailedToApplyEnvironmentException
(
156
throw new
FailedToApplyEnvironmentException
(
Aspire.Hosting.Tests (1)
ResourceCommandServiceTests.cs (1)
397
executeCommand: _ => throw new
FailedToApplyEnvironmentException
(diagnostic));
12 references to FailedToApplyEnvironmentException
Aspire.Hosting (4)
Dcp\DcpExecutor.cs (2)
1023
catch (
FailedToApplyEnvironmentException
ex)
1238
if (ex is not
FailedToApplyEnvironmentException
)
Dcp\ExecutableCreator.cs (2)
91
catch (
FailedToApplyEnvironmentException
ex)
457
catch (
FailedToApplyEnvironmentException
ex)
Aspire.Hosting.Tests (8)
Dcp\DcpExecutorTests.cs (6)
6990
var
exception = await Assert.ThrowsAsync<
FailedToApplyEnvironmentException
>(
10474
var
exception = await Assert.ThrowsAsync<
FailedToApplyEnvironmentException
>(
10607
var
exception = await Assert.ThrowsAsync<
FailedToApplyEnvironmentException
>(
Dcp\ExecutableLaunchPlanTests.cs (2)
116
var
exception = await Assert.ThrowsAsync<
FailedToApplyEnvironmentException
>(