35 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"); 589collection.SetGlobalProperty("g1", "v1"); 590collection.SetGlobalProperty("g2", "v2"); 591collection.SetGlobalProperty("g2", "v2"); // try dupe 618collection.SetGlobalProperty("g1", "v1"); 619collection.SetGlobalProperty("g2", "v2"); 640collection.SetGlobalProperty("g1", "v1"); // should make both dirty 641collection.SetGlobalProperty("g2", "v2"); // should make both dirty 680collection.SetGlobalProperty("g1", "v1"); 811ProjectCollection.GlobalProjectCollection.SetGlobalProperty("Configuration", "Debug"); 1208collection.SetGlobalProperty("a", "b"); 1270collection.SetGlobalProperty("a", "1"); 1279collection2.SetGlobalProperty("a", "%28x86%29"); 1288collection3.SetGlobalProperty("a", "1"); 1297collection4.SetGlobalProperty("a", "(x86)"); 1306collection5.SetGlobalProperty("a", "1"); 1316collection6.SetGlobalProperty("a", "2"); 1370collection.SetGlobalProperty("a", "b"); 1433collection.SetGlobalProperty("somePCglobal", "someValue"); 1494collection.SetGlobalProperty("a", propertyValue);
Microsoft.Build.Engine.UnitTests (2)
Graph\ProjectGraph_Tests.cs (2)
361collection.SetGlobalProperty("A", "CollectionA"); 362collection.SetGlobalProperty("B", "CollectionB");
Roslyn.Compilers.Extension (1)
CompilerPackage.cs (1)
56Microsoft.Build.Evaluation.ProjectCollection.GlobalProjectCollection.SetGlobalProperty("RoslynHive", RoslynHive);