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