18 references to Configuration
Aspire.Hosting (4)
Dcp\ResourceSnapshotBuilder.cs (4)
188
.RemoveResourceProperty(KnownProperties.Project.
Configuration
)
285
directProperties.Add(new(KnownProperties.Project.
Configuration
, directBuildConfiguration));
311
? [new(KnownProperties.Project.LaunchCommand, "ide"), new(KnownProperties.Project.
Configuration
, buildConfiguration)]
402
properties.Add(new(KnownProperties.Project.
Configuration
, configuration));
Aspire.Hosting.Tests (14)
Dcp\ResourceSnapshotBuilderTests.cs (14)
153
Assert.Equal(configuration, GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value);
157
Assert.Empty(snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
));
203
Assert.Equal("Release", GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value);
254
snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
).Select(property => property.Value));
294
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework
356
Assert.Equal("Release", Assert.IsType<string>(GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value));
360
Assert.False(GetProperty(snapshot, KnownProperties.Project.
Configuration
).IsSensitive);
393
new(KnownProperties.Project.
Configuration
, "stale-configuration"),
403
Assert.Empty(snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
));
438
Properties = [new(KnownProperties.Project.
Configuration
, "stale-configuration")]
445
Assert.Empty(snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
));
479
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework),
508
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework),
541
Assert.Equal("Release", GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value);