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