34 references to SetGlobalProperty
Microsoft.Build (1)
Definition\ProjectCollection.cs (1)
554/// <see cref="SetGlobalProperty">SetGlobalProperty</see> and <see cref="RemoveGlobalProperty">RemoveGlobalProperty</see>.
Microsoft.Build.Engine.OM.UnitTests (31)
Definition\ProjectCollection_Tests.cs (31)
167collection.SetGlobalProperty("p", "v"); 198collection.SetGlobalProperty("p", "v"); 229collection.SetGlobalProperty("p", "v"); 252collection.SetGlobalProperty("p", "v"); 268collection.SetGlobalProperty("p", "v"); 282collection.SetGlobalProperty("p", "v"); 390ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 447ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 464ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Platform", "X64"); 473ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug2"); 474ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Platform", "X86"); 480ProjectCollection.GlobalProjectCollection.SetGlobalProperty("MyProperty", "MyValue2"); 585collection.SetGlobalProperty("g1", "v1"); 586collection.SetGlobalProperty("g2", "v2"); 587collection.SetGlobalProperty("g2", "v2"); // try dupe 614collection.SetGlobalProperty("g1", "v1"); 615collection.SetGlobalProperty("g2", "v2"); 636collection.SetGlobalProperty("g1", "v1"); // should make both dirty 637collection.SetGlobalProperty("g2", "v2"); // should make both dirty 676collection.SetGlobalProperty("g1", "v1"); 807ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 1203collection.SetGlobalProperty("a", "b"); 1265collection.SetGlobalProperty("a", "1"); 1274collection.SetGlobalProperty("a", "%28x86%29"); 1283collection.SetGlobalProperty("a", "1"); 1292collection.SetGlobalProperty("a", "(x86)"); 1301collection.SetGlobalProperty("a", "1"); 1311collection.SetGlobalProperty("a", "2"); 1365collection.SetGlobalProperty("a", "b"); 1428collection.SetGlobalProperty("somePCglobal", "someValue"); 1489collection.SetGlobalProperty("a", propertyValue);
Microsoft.Build.Engine.UnitTests (2)
Graph\ProjectGraph_Tests.cs (2)
361collection.SetGlobalProperty("A", "CollectionA"); 362collection.SetGlobalProperty("B", "CollectionB");