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