62 references to SetProperty
Microsoft.Build (1)
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
174/// Facilitate remoting the <see cref="Project.SetProperty"/>.
Microsoft.Build.Engine.OM.UnitTests (51)
Definition\DefinitionEditing_Tests.cs (23)
266project.SetProperty("p", "v1"); 830project.SetProperty("p", "xxx"); 884project.SetProperty("p", "v1"); 911project.SetProperty("p", "v1"); 1059project.SetProperty("p", "v1"); 1475project.SetProperty("p1", "v1"); 1500project.SetProperty("p1", "v%5E1"); 1530project.SetProperty("OutDir", "foo"); // should not throw 1543project.SetProperty("p0", "v0"); 1544project.SetProperty("p1", "$(p0)"); 1560project.SetProperty("p1", "x@(i)x%(m)x"); 1574project.SetProperty("p", "v1"); 1578project.SetProperty("p", "v1"); 1592var property = project.SetProperty("p", "v1"); 1607var property = project.SetProperty("p", "v1"); 1782var property = project.SetProperty("p", "v1"); 1784project.SetProperty("p", "v2"); 1801var property = project.SetProperty("p", "v1"); 1803project.SetProperty("p", "v2"); 1821project.SetProperty("p1", "v1"); 1843project.SetProperty("p1", "v1"); 1844project.SetProperty("p2", "v2"); 2190project.SetProperty("p", "v1");
Definition\Project_Tests.cs (5)
922project.SetProperty("p", "v2"); 932project.SetProperty("computername", "v1"); 951project.SetProperty("msbuildprojectdirectory", "v1"); 1348project.SetProperty("p", "v"); 1635project.SetProperty("p", "v");
Definition\ProjectCollection_Tests.cs (9)
1269project.SetProperty("a", "1"); 1278project.SetProperty("a", "%28x86%29"); 1287project.SetProperty("a", "1"); 1296project.SetProperty("a", "1"); 1305project.SetProperty("a", "2"); 1315project.SetProperty("a", "1"); 1381project.SetProperty("z", "y"); 1420project.SetProperty("someProp", "someValue"); 1437project.SetProperty("someProp", "someValue2");
Definition\ProjectMetadata_Tests.cs (1)
110project.SetProperty("p", "p0");
Definition\ProjectProperty_Tests.cs (9)
30ProjectProperty property = project.SetProperty("p", "v"); 87ProjectProperty property = project.SetProperty("p", "v1"); 104ProjectProperty property = project.SetProperty("p", "v1"); 122ProjectProperty property = project.SetProperty("p", "v1"); 225project.SetProperty("p0", "v0"); 226ProjectProperty property = project.SetProperty("p1", "v1"); 244project.SetProperty("p0", "v0"); 245ProjectProperty property = project.SetProperty("p1", "v1"); 267import.SetProperty("p", "v0");
Definition\ProtectImports_Tests.cs (1)
152project.SetProperty(PropertyName, NewValue);
Instance\ProjectPropertyInstance_Tests.cs (1)
92project.SetProperty("p", "v1");
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (1)
84var added = toAdd.SetProperty(name, unevaluatedValue);
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (1)
113=> this.OwningCollection.Export<ProjectProperty, MockProjectPropertyLinkRemoter>(this.Source.SetProperty(name, unevaluatedValue));
Microsoft.Build.Engine.UnitTests (10)
BackEnd\BuildManager_Tests.cs (2)
2058project2.SetProperty("Bar", "FOO"); 3884project.SetProperty("ImportIt", "false");
Definition\ItemDefinitionGroup_Tests.cs (2)
1731p.SetProperty("BuildFlavor", "ret"); 1739p.SetProperty("BuildFlavor", "chk");
Evaluation\EvaluationLogging_Tests.cs (1)
97project.SetProperty("aProperty", "Value");
Evaluation\Evaluator_Tests.cs (2)
1501ProjectProperty property = project.SetProperty("outdir", "x"); // Outdir is set in microsoft.common.targets 2142project.SetProperty("p", "1");
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
413project.SetProperty("MSBuildExtensionsPath", extnDir2);
Evaluation\Preprocessor_Tests.cs (2)
56project.SetProperty("p", "v1"); 793project.SetProperty("p", "<![CDATA[<sender>John Smith</sender>]]>");