35 references to SetGlobalProperty
Microsoft.Build (1)
Definition\ProjectCollection.cs (1)
587/// <see cref="SetGlobalProperty">SetGlobalProperty</see> and <see cref="RemoveGlobalProperty">RemoveGlobalProperty</see>.
Microsoft.Build.Engine.OM.UnitTests (31)
Definition\ProjectCollection_Tests.cs (31)
168collection.SetGlobalProperty("p", "v"); 199collection.SetGlobalProperty("p", "v"); 230collection.SetGlobalProperty("p", "v"); 253collection.SetGlobalProperty("p", "v"); 269collection.SetGlobalProperty("p", "v"); 283collection.SetGlobalProperty("p", "v"); 391ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 448ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 465ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Platform", "X64"); 474ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug2"); 475ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Platform", "X86"); 481ProjectCollection.GlobalProjectCollection.SetGlobalProperty("MyProperty", "MyValue2"); 590collection.SetGlobalProperty("g1", "v1"); 591collection.SetGlobalProperty("g2", "v2"); 592collection.SetGlobalProperty("g2", "v2"); // try dupe 619collection.SetGlobalProperty("g1", "v1"); 620collection.SetGlobalProperty("g2", "v2"); 641collection.SetGlobalProperty("g1", "v1"); // should make both dirty 642collection.SetGlobalProperty("g2", "v2"); // should make both dirty 681collection.SetGlobalProperty("g1", "v1"); 812ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 1209collection.SetGlobalProperty("a", "b"); 1271collection.SetGlobalProperty("a", "1"); 1280collection2.SetGlobalProperty("a", "%28x86%29"); 1289collection3.SetGlobalProperty("a", "1"); 1298collection4.SetGlobalProperty("a", "(x86)"); 1307collection5.SetGlobalProperty("a", "1"); 1317collection6.SetGlobalProperty("a", "2"); 1371collection.SetGlobalProperty("a", "b"); 1434collection.SetGlobalProperty("somePCglobal", "someValue"); 1495collection.SetGlobalProperty("a", propertyValue);
Microsoft.Build.Engine.UnitTests (2)
Graph\ProjectGraph_Tests.cs (2)
362collection.SetGlobalProperty("A", "CollectionA"); 363collection.SetGlobalProperty("B", "CollectionB");
Roslyn.Compilers.Extension (1)
CompilerPackage.cs (1)
56Microsoft.Build.Evaluation.ProjectCollection.GlobalProjectCollection.SetGlobalProperty("RoslynHive", RoslynHive);