37 references to SetProperty
Microsoft.Build (1)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
425_project.SetProperty(property.Name, ((IProperty)property).EvaluatedValueEscaped);
Microsoft.Build.Engine.OM.UnitTests (17)
Instance\ProjectInstance_Tests.cs (16)
205instance.SetProperty("p", "p2"); 210instance.SetProperty("p", ""); 238ProjectPropertyInstance newProperty = first.SetProperty("p1", "v1b"); 669Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("a", "b"); }); 834Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("newproperty", "v2"); }); 846Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("g", "gv2"); }); 858Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("username", "someone_else_here"); }); 871instance.SetProperty("p", "pnew"); 874instance.SetProperty("g", "gnew"); 875instance.SetProperty("username", "someone_else_here"); 959instance.SetProperty("p", "pnew"); 962instance.SetProperty("g", "gnew"); 963instance.SetProperty("username", "someone_else_here"); 976instance.SetProperty("p", "pnew"); 979instance.SetProperty("g", "gnew"); 980instance.SetProperty("username", "someone_else_here");
Instance\ProjectPropertyInstance_Tests.cs (1)
105ProjectPropertyInstance property = projectInstance.SetProperty("p", "v1");
Microsoft.Build.Engine.UnitTests (9)
BackEnd\BuildManager_Tests.cs (5)
2268instance.SetProperty("VirtualProp", "overridden"); 2269instance.SetProperty("NewProp", "new"); 2318instance.SetProperty("VirtualProp", "overridden"); 2319instance.SetProperty("Unmodified", "changed"); 3781p2pInstance.SetProperty("P", newPropertyValue);
Collections\OMcollections_tests.cs (1)
312ProjectPropertyInstance property = projectInstance.SetProperty(name, value);
Construction\SolutionProjectGenerator_Tests.cs (2)
1829msbuildProject.SetProperty("TargetFrameworkVersion", "v2.0"); 1857msbuildProject.SetProperty("TargetFrameworkVersion", "v4.0");
Instance\ProjectPropertyInstance_Internal_Tests.cs (1)
96ProjectPropertyInstance property = projectInstance.SetProperty("p", "v1");
Microsoft.Build.Tasks.UnitTests (10)
ResolveSDKReference_Tests.cs (10)
3812project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 3813project.SetProperty("SDKReferenceRegistryRoot", ""); 3955project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 3956project.SetProperty("SDKReferenceRegistryRoot", ""); 4064project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 4065project.SetProperty("SDKReferenceRegistryRoot", ""); 4161project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 4162project.SetProperty("SDKReferenceRegistryRoot", ""); 4330project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 4331project.SetProperty("SDKReferenceRegistryRoot", "");