49 references to SetProperty
Microsoft.Build (13)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
397_project.SetProperty(property.Name, ((IProperty)property).EvaluatedValueEscaped);
Construction\Solution\SolutionProjectGenerator.cs (12)
1685metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetVirtualPath"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetVirtualPath)); 1686metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetPhysicalPath"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetPhysicalPath)); 1687metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetTargetPath"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetTargetPath)); 1688metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetForce"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetForce)); 1689metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetUpdateable"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetUpdateable)); 1690metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetDebug"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetDebug)); 1691metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetKeyFile"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetKeyFile)); 1692metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetKeyContainer"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetKeyContainer)); 1693metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetDelaySign"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetDelaySign)); 1694metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetAPTCA"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetAPTCA)); 1695metaprojectInstance.SetProperty(GenerateSafePropertyName(project, "AspNetFixedNames"), EscapingUtilities.Escape(aspNetCompilerParameters.aspNetFixedNames)); 1745metaprojectInstance.SetProperty(
Microsoft.Build.Engine.OM.UnitTests (17)
Instance\ProjectInstance_Tests.cs (16)
207instance.SetProperty("p", "p2"); 212instance.SetProperty("p", ""); 240ProjectPropertyInstance newProperty = first.SetProperty("p1", "v1b"); 671Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("a", "b"); }); 836Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("newproperty", "v2"); }); 848Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("g", "gv2"); }); 860Helpers.VerifyAssertThrowsInvalidOperation(delegate () { instance.SetProperty("username", "someone_else_here"); }); 873instance.SetProperty("p", "pnew"); 876instance.SetProperty("g", "gnew"); 877instance.SetProperty("username", "someone_else_here"); 961instance.SetProperty("p", "pnew"); 964instance.SetProperty("g", "gnew"); 965instance.SetProperty("username", "someone_else_here"); 978instance.SetProperty("p", "pnew"); 981instance.SetProperty("g", "gnew"); 982instance.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"); 3738p2pInstance.SetProperty("P", newPropertyValue);
Collections\OMcollections_tests.cs (1)
313ProjectPropertyInstance property = projectInstance.SetProperty(name, value);
Construction\SolutionProjectGenerator_Tests.cs (2)
1767msbuildProject.SetProperty("TargetFrameworkVersion", "v2.0"); 1795msbuildProject.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)
3813project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 3814project.SetProperty("SDKReferenceRegistryRoot", ""); 3956project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 3957project.SetProperty("SDKReferenceRegistryRoot", ""); 4065project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 4066project.SetProperty("SDKReferenceRegistryRoot", ""); 4162project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 4163project.SetProperty("SDKReferenceRegistryRoot", ""); 4331project.SetProperty("SDKReferenceDirectoryRoot", testDirectoryRoot); 4332project.SetProperty("SDKReferenceRegistryRoot", "");