43 references to SetOrRemoveAttribute
Microsoft.Build (43)
Construction\ProjectElement.cs (2)
138SetOrRemoveAttribute(XMakeAttributes.label, value, "Set label {0}", value); 568SetOrRemoveAttribute(name, value, reason, param);
Construction\ProjectImportElement.cs (4)
60SetOrRemoveAttribute(XMakeAttributes.project, value, "Set Import Project {0}", value); 80SetOrRemoveAttribute(XMakeAttributes.sdk, value, "Set Import Sdk {0}", value); 95SetOrRemoveAttribute(XMakeAttributes.sdkVersion, value, "Set Import Version {0}", value); 110SetOrRemoveAttribute(XMakeAttributes.sdkMinimumVersion, value, "Set Import Minimum Version {0}", value);
Construction\ProjectItemElement.cs (4)
212SetOrRemoveAttribute(XMakeAttributes.matchOnMetadataOptions, value, "Set item MatchOnMetadataOptions {0}", value); 233SetOrRemoveAttribute(XMakeAttributes.keepMetadata, value, "Set item KeepMetadata {0}", value); 254SetOrRemoveAttribute(XMakeAttributes.removeMetadata, value, "Set item RemoveMetadata {0}", value); 274SetOrRemoveAttribute(XMakeAttributes.keepDuplicates, value, "Set item KeepDuplicates {0}", value);
Construction\ProjectOnErrorElement.cs (1)
60SetOrRemoveAttribute(XMakeAttributes.executeTargets, value, "Set OnError ExecuteTargets {0}", value);
Construction\ProjectOutputElement.cs (3)
61SetOrRemoveAttribute(XMakeAttributes.taskParameter, value, "Set Output TaskParameter {0}", value); 94SetOrRemoveAttribute(XMakeAttributes.itemName, value, "Set Output ItemType {0}", value); 114SetOrRemoveAttribute(XMakeAttributes.propertyName, value, "Set Output PropertyName {0}", value);
Construction\ProjectRootElement.cs (5)
484set => SetOrRemoveAttribute(XMakeAttributes.defaultTargets, value, "Set Project DefaultTargets to '{0}'", value); 497set => SetOrRemoveAttribute(XMakeAttributes.initialTargets, value, "Set project InitialTargets to '{0}'", value); 512set => SetOrRemoveAttribute(XMakeAttributes.sdk, value, "Set project Sdk to '{0}'", value); 525set => SetOrRemoveAttribute(XMakeAttributes.treatAsLocalProperty, value, "Set project TreatAsLocalProperty to '{0}'", value); 538set => SetOrRemoveAttribute(XMakeAttributes.toolsVersion, value, "Set project ToolsVersion {0}", value);
Construction\ProjectSdkElement.cs (3)
50SetOrRemoveAttribute(XMakeAttributes.sdkName, value, $"Set SDK Name to {value}", XMakeAttributes.sdkName); 62SetOrRemoveAttribute(XMakeAttributes.sdkVersion, value, $"Set SDK Version to {value}", XMakeAttributes.sdkVersion); 74SetOrRemoveAttribute(XMakeAttributes.sdkMinimumVersion, value, $"Set SDK MinimumVersion to {value}", XMakeAttributes.sdkMinimumVersion);
Construction\ProjectTargetElement.cs (7)
115SetOrRemoveAttribute(XMakeAttributes.name, unescapedValue, "Set target Name {0}", value); 136SetOrRemoveAttribute(XMakeAttributes.inputs, value, "Set target Inputs {0}", value); 156SetOrRemoveAttribute(XMakeAttributes.outputs, value, "Set target Outputs {0}", value); 184SetOrRemoveAttribute(XMakeAttributes.keepDuplicateOutputs, value, "Set target KeepDuplicateOutputs {0}", value); 204SetOrRemoveAttribute(XMakeAttributes.dependsOnTargets, value, "Set target DependsOnTargets {0}", value); 224SetOrRemoveAttribute(XMakeAttributes.beforeTargets, value, "Set target BeforeTargets {0}", value); 244SetOrRemoveAttribute(XMakeAttributes.afterTargets, value, "Set target AfterTargets {0}", value);
Construction\ProjectTaskElement.cs (3)
76SetOrRemoveAttribute(XMakeAttributes.continueOnError, value, "Set task ContinueOnError {0}", value); 96SetOrRemoveAttribute(XMakeAttributes.msbuildRuntime, value, "Set task MSBuildRuntime {0}", value); 116SetOrRemoveAttribute(XMakeAttributes.msbuildArchitecture, value, "Set task MSBuildArchitecture {0}", value);
Construction\ProjectUsingTaskBodyElement.cs (1)
100SetOrRemoveAttribute(XMakeAttributes.evaluate, value, "Set usingtask Evaluate {0}", value);
Construction\ProjectUsingTaskElement.cs (7)
59SetOrRemoveAttribute(XMakeAttributes.assemblyFile, value, "Set usingtask AssemblyFile {0}", value); 75SetOrRemoveAttribute(XMakeAttributes.assemblyName, value, "Set usingtask AssemblyName {0}", value); 89SetOrRemoveAttribute(XMakeAttributes.taskName, value, "Set usingtask TaskName {0}", value); 102SetOrRemoveAttribute(XMakeAttributes.taskFactory, value, "Set usingtask TaskFactory {0}", value); 115SetOrRemoveAttribute(XMakeAttributes.runtime, value, "Set usingtask Runtime {0}", value); 128SetOrRemoveAttribute(XMakeAttributes.architecture, value, "Set usingtask Architecture {0}", value); 141SetOrRemoveAttribute(XMakeAttributes.overrideUsingTask, value, "Set usingtask Override {0}", value);
Construction\ProjectUsingTaskParameterElement.cs (3)
97SetOrRemoveAttribute(XMakeAttributes.parameterType, value, "Set usingtaskparameter ParameterType {0}", value); 114SetOrRemoveAttribute(XMakeAttributes.output, value, "Set usingtaskparameter Output {0}", value); 131SetOrRemoveAttribute(XMakeAttributes.required, value, "Set usingtaskparameter Required {0}", value);