19 references to Configuration
Aspire.Hosting (4)
Dcp\ResourceSnapshotBuilder.cs (4)
188
.RemoveResourceProperty(KnownProperties.Project.
Configuration
)
285
directProperties.Add(new(KnownProperties.Project.
Configuration
, directBuildConfiguration));
315
? [new(KnownProperties.Project.LaunchCommand, "ide"), new(KnownProperties.Project.
Configuration
, buildConfiguration)]
409
properties.Add(new(KnownProperties.Project.
Configuration
, configuration));
Aspire.Hosting.Tests (15)
Dcp\ResourceSnapshotBuilderTests.cs (15)
161
Assert.Equal(configuration, GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value);
165
Assert.Empty(snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
));
216
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework),
266
Assert.Equal("Release", GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value);
317
snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
).Select(property => property.Value));
357
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework
419
Assert.Equal("Release", Assert.IsType<string>(GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value));
423
Assert.False(GetProperty(snapshot, KnownProperties.Project.
Configuration
).IsSensitive);
456
new(KnownProperties.Project.
Configuration
, "stale-configuration"),
466
Assert.Empty(snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
));
501
Properties = [new(KnownProperties.Project.
Configuration
, "stale-configuration")]
508
Assert.Empty(snapshot.Properties.Where(property => property.Name == KnownProperties.Project.
Configuration
));
542
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework),
571
or KnownProperties.Project.
Configuration
or KnownProperties.Project.TargetFramework),
604
Assert.Equal("Release", GetProperty(snapshot, KnownProperties.Project.
Configuration
).Value);