46 references to SetGlobalProperty
Microsoft.Build (3)
Definition\Project.cs (1)
602
/// <see cref="
SetGlobalProperty
">SetGlobalProperty</see> and <see cref="RemoveGlobalProperty">RemoveGlobalProperty</see>.
Definition\ProjectCollection.cs (1)
1456
project.
SetGlobalProperty
(name, value);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
179
/// Facilitate remoting the <see cref="Project.
SetGlobalProperty
"/>.
Microsoft.Build.Engine.OM.UnitTests (24)
Definition\Project_Tests.cs (12)
864
project.
SetGlobalProperty
("g", "v1").ShouldBeTrue();
878
project.
SetGlobalProperty
("p", "v1");
880
project.
SetGlobalProperty
("p", "v2");
893
project.
SetGlobalProperty
("p", "v1");
900
project.
SetGlobalProperty
("g", "v1");
905
project.
SetGlobalProperty
("g", "v1");
920
project.
SetGlobalProperty
("p", "v1");
969
project.
SetGlobalProperty
("p1", "v1b");
998
project.
SetGlobalProperty
("p1", "v1b");
1013
project.
SetGlobalProperty
("g", "v1");
1017
project.
SetGlobalProperty
("g", "v1").ShouldBeFalse();
1031
project.
SetGlobalProperty
("g", "v1");
Definition\ProjectCollection_Tests.cs (8)
452
project.
SetGlobalProperty
("MyProperty", "MyValue");
469
project2.
SetGlobalProperty
("Platform", "Itanium");
570
project.
SetGlobalProperty
("p", "v1"); // should update collection
615
project1.
SetGlobalProperty
("g1", "v0");
683
project1.
SetGlobalProperty
("g1", "v0"); // mask collection property
1376
project.
SetGlobalProperty
("q", "s");
1416
project.
SetGlobalProperty
("someGlobal", "someValue");
1425
project.
SetGlobalProperty
("someGlobal", "someValue2");
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (3)
320
pair.View.
SetGlobalProperty
("gp1", "GP1V");
330
pair.Real.
SetGlobalProperty
("Configuration", "Foo");
357
pair.Real.
SetGlobalProperty
("xxx", "XXX");
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
110
public bool SetGlobalProperty(string name, string escapedValue) => this.Source.
SetGlobalProperty
(name, escapedValue);
Microsoft.Build.Engine.UnitTests (16)
Construction\SolutionProjectGenerator_Tests.cs (10)
855
msbuildProject.
SetGlobalProperty
("Configuration", "Debug");
856
msbuildProject.
SetGlobalProperty
("Platform", "Any CPU");
1108
msbuildProject.
SetGlobalProperty
("Configuration", "Debug");
1109
msbuildProject.
SetGlobalProperty
("Platform", "Mixed Platforms");
1128
msbuildProject.
SetGlobalProperty
("Configuration", "Release");
1129
msbuildProject.
SetGlobalProperty
("Platform", "Any CPU");
1178
msbuildProject.
SetGlobalProperty
("Configuration", "Debug");
1179
msbuildProject.
SetGlobalProperty
("Platform", "Mixed Platforms");
1223
msbuildProject.
SetGlobalProperty
("Configuration", "Debug");
1224
msbuildProject.
SetGlobalProperty
("Platform", "Mixed Platforms");
EscapingInProjects_Tests.cs (1)
687
project.
SetGlobalProperty
("MyGlobalProperty", "foo%253bbar");
Evaluation\Evaluator_Tests.cs (5)
2498
project.
SetGlobalProperty
("MSBuildExtensionsPath", @"c:\devdiv\vscore\msbuild");
2573
project.
SetGlobalProperty
("MSBuildExtensionsPath32", @"c:\devdiv\vscore\msbuild");
2648
project.
SetGlobalProperty
("MSBuildExtensionsPath64", @"c:\devdiv\vscore\msbuild");
2705
project.
SetGlobalProperty
("LocalAppData", @"c:\AppData\Local");
3312
project.
SetGlobalProperty
("Foo", "Baz");
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1034
project.
SetGlobalProperty
(globalProperty.Key, globalProperty.Value);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
MSBuild\ProjectFile\ProjectFile.cs (2)
75
_loadedProject.
SetGlobalProperty
(PropertyNames.TargetFramework, targetFramework);
89
_loadedProject.
SetGlobalProperty
(PropertyNames.TargetFramework, initialGlobalTargetFrameworkValue);