69 references to BuildRequestConfiguration
Microsoft.Build (2)
BackEnd\BuildManager\BuildManager.cs (1)
1526existingConfiguration = new BuildRequestConfiguration(GetNewConfigurationId(), new BuildRequestData(newInstance, []), null /* use the instance's tools version */);
BackEnd\Shared\BuildRequestConfiguration.cs (1)
156: this(0, data, defaultToolsVersion)
Microsoft.Build.Engine.UnitTests (67)
BackEnd\BuildRequestConfiguration_Tests.cs (9)
67BuildRequestConfiguration config1 = new BuildRequestConfiguration(1, data, "2.0"); 75new BuildRequestConfiguration(1, config1, "2.0"); 82new BuildRequestConfiguration(-1, config1, "2.0"); 106BuildRequestConfiguration config1 = new BuildRequestConfiguration(-1, data1, "2.0"); 110BuildRequestConfiguration config2 = new BuildRequestConfiguration(1, data2, "2.0"); 122BuildRequestConfiguration config1 = new BuildRequestConfiguration(-1, data1, "2.0"); 126BuildRequestConfiguration config2 = new BuildRequestConfiguration(1, data2, "2.0"); 130BuildRequestConfiguration config3 = new BuildRequestConfiguration(0, data3, "2.0"); 140BuildRequestConfiguration config1 = new BuildRequestConfiguration(-1, data, "2.0");
BackEnd\BuildRequestEngine_Tests.cs (4)
338BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, "2.0"); 369BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, "2.0"); 397BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, "2.0"); 450BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, "2.0");
BackEnd\BuildRequestEntry_Tests.cs (10)
25BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, "2.0"); 45BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0"); 94BuildRequestConfiguration config = new BuildRequestConfiguration(1, data1, "2.0"); 116BuildRequestConfiguration config = new BuildRequestConfiguration(1, data1, "2.0"); 145BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0"); 183BuildRequestConfiguration config = new BuildRequestConfiguration(1, data1, "2.0"); 199BuildRequestConfiguration config = new BuildRequestConfiguration(1, data1, "2.0"); 216BuildRequestConfiguration config = new BuildRequestConfiguration(1, data1, "2.0"); 239BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0"); 259BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string?>(), "foo", Array.Empty<string>(), null), "2.0");
BackEnd\CacheAggregator_Tests.cs (11)
78configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 79configCache.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path2", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "c", "d" }, null), "13")); 100configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 129configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 151configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 159configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 195configCache.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 213configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "a", "b" }, null), "13")); 214configCache1.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path2", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "c", "d" }, null), "13")); 225configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 1, new BuildRequestData("path3", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "e", "f" }, null), "13")); 226configCache2.AddConfiguration(new BuildRequestConfiguration(configId: 2, new BuildRequestData("path4", new Dictionary<string, string>() { ["p"] = "v" }, "13", new[] { "g", "h" }, null), "13"));
BackEnd\CacheSerialization_Tests.cs (3)
25var brq1 = new BuildRequestConfiguration( 30var brq2 = new BuildRequestConfiguration( 34var brq3 = new BuildRequestConfiguration(
BackEnd\ConfigCache_Tests.cs (6)
25var brq1 = new BuildRequestConfiguration( 35var brq2 = new BuildRequestConfiguration( 44var brq3 = new BuildRequestConfiguration( 72var brq1 = new BuildRequestConfiguration( 76var brq2 = new BuildRequestConfiguration( 80var brq3 = new BuildRequestConfiguration(
BackEnd\ConfigurationMetadata_Tests.cs (5)
63BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, "2.0"); 89BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, ObjectModelHelpers.MSBuildDefaultToolsVersion); 105BuildRequestConfiguration config = new BuildRequestConfiguration(1, data, ObjectModelHelpers.MSBuildDefaultToolsVersion); 114BuildRequestConfiguration config2 = new BuildRequestConfiguration(1, data, ObjectModelHelpers.MSBuildDefaultToolsVersion); 119BuildRequestConfiguration config3 = new BuildRequestConfiguration(1, data, "3.0");
BackEnd\IntrinsicTask_Tests.cs (2)
3958BuildRequestEntry entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { "t" }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0")); 3993var entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { targetName }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0"));
BackEnd\LoggingService_Tests.cs (1)
968configCache.AddConfiguration(new BuildRequestConfiguration(buildEventContext.ProjectInstanceId, buildRequestData, buildRequestData.ExplicitlySpecifiedToolsVersion));
BackEnd\LoggingServicesLogMethod_Tests.cs (5)
842BuildRequestConfiguration config = new BuildRequestConfiguration(2, data, "4.0"); 868BuildRequestConfiguration config = new BuildRequestConfiguration(ConfigurationId, data, "4.0"); 907BuildRequestConfiguration config = new BuildRequestConfiguration(ConfigurationId, data, "4.0"); 948BuildRequestConfiguration config = new BuildRequestConfiguration(ConfigurationId, data, "4.0"); 1421BuildRequestConfiguration config = new BuildRequestConfiguration(2, data, "4.0");
BackEnd\RequestBuilder_Tests.cs (2)
226BuildRequestConfiguration configuration = new BuildRequestConfiguration(1, new BuildRequestData("testName", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0"); 265BuildRequestConfiguration config = new BuildRequestConfiguration(
BackEnd\Scheduler_Tests.cs (1)
735BuildRequestConfiguration config = new(configId, data, "4.0") { ProjectInitialTargets = new List<string>(), ProjectDefaultTargets = new List<string>() };
BackEnd\TargetBuilder_Tests.cs (1)
1676BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("testFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0");
BackEnd\TargetEntry_Tests.cs (5)
83BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 98BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 112BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 1026BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0"); 1044BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("foo", new Dictionary<string, string>(), "foo", Array.Empty<string>(), null), "2.0");
BackEnd\TaskBuilder_Tests.cs (1)
1242BuildRequestConfiguration config = new BuildRequestConfiguration(1, new BuildRequestData("testfile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0");
BackEnd\TaskHost_Tests.cs (1)
76BuildRequestConfiguration configuration = new BuildRequestConfiguration(1, new BuildRequestData("Nothing", new Dictionary<string, string>(), "4.0", Array.Empty<string>(), null), "2.0");