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