85 references to SetAttributeValue
aspire (16)
Packaging\NuGetConfigMerger.cs (16)
222add.SetAttributeValue("key", source); 223add.SetAttributeValue("value", source); 349targetSourceElement.SetAttributeValue("key", keyToUse); 364packageElement.SetAttributeValue("pattern", pattern); 412targetSourceElement.SetAttributeValue("key", keyToUse); 427packageElement.SetAttributeValue("pattern", mapping.PackageFilter); 486elementToFix.SetAttributeValue("key", properKey); 567packageSourceElement.SetAttributeValue("key", sourceKey); 570wildcardPackage.SetAttributeValue("pattern", "*"); 606wildcardPackage.SetAttributeValue("pattern", "*"); 739packageSource.SetAttributeValue("key", keyToUse); 744packageElement.SetAttributeValue("pattern", mapping.PackageFilter); 787packageSourceElement.SetAttributeValue("key", sourceKey); 790wildcardPackage.SetAttributeValue("pattern", "*"); 981globalPackagesFolderAdd.SetAttributeValue("key", "globalPackagesFolder"); 982globalPackagesFolderAdd.SetAttributeValue("value", ".nugetpackages");
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (2)
51encryptionElement.SetAttributeValue("provider", Configuration.EncryptionAlgorithmProvider); 58hashElement.SetAttributeValue("provider", Configuration.HashAlgorithmProvider);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
50encryptionElement.SetAttributeValue("provider", Configuration.EncryptionAlgorithmProvider);
AuthenticatedEncryption\ConfigurationModel\XmlExtensions.cs (1)
28element.SetAttributeValue(XmlConstants.RequiresEncryptionAttributeName, true);
XmlExtensions.cs (1)
24newElement.SetAttributeValue(attr.Name, attr.Value);
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
XmlComments\XmlComment.InheritDoc.cs (1)
248replacement.SetAttributeValue(DocumentationCommentXmlNames.CrefAttributeName, docId);
Microsoft.CodeAnalysis.Workspaces (11)
Log\WorkspaceStructureLogger.cs (10)
41workspaceElement.SetAttributeValue("kind", workspaceKind); 116projectElement.SetAttributeValue("id", SanitizePath(project.Id.ToString())); 117projectElement.SetAttributeValue("name", project.Name); 118projectElement.SetAttributeValue("assemblyName", project.AssemblyName); 119projectElement.SetAttributeValue("language", project.Language); 120projectElement.SetAttributeValue("path", SanitizePath(project.FilePath)); 121projectElement.SetAttributeValue("outputPath", SanitizePath(project.OutputFilePath)); 124projectElement.SetAttributeValue("hasSuccessfullyLoaded", hasSuccessfullyLoaded); 158referenceElement.SetAttributeValue("missingInSolution", "true"); 305documentElement.SetAttributeValue("clientName", clientName);
Shared\Extensions\ISymbolExtensions.cs (1)
440replacement.SetAttributeValue(DocumentationCommentXmlNames.CrefAttributeName, docId);
Microsoft.DotNet.Build.Tasks.Installers (3)
src\CreateWixBuildWixpack.cs (2)
601element.SetAttributeValue(sourceAttr, $"{pattern}\\{parts[1]}"); 616element.SetAttributeValue(sourceAttr, newSourceValue);
src\GenerateMacOSDistributionFile.cs (1)
136element.SetAttributeValue(attribute, value);
Microsoft.Maui.Resizetizer (18)
GeneratePackageAppxManifest.cs (12)
95 identity.SetAttributeValue(xname, ApplicationId); 112 identity.SetAttributeValue(xname, finalVersion); 203 visual.SetAttributeValue(xname, ApplicationTitle); 211 visual.SetAttributeValue(xname, ApplicationTitle); 220 visual.SetAttributeValue(xname, "transparent"); 233 visual.SetAttributeValue(xname, path); 245 visual.SetAttributeValue(xname, path); 269 tile.SetAttributeValue(xname, path); 281 tile.SetAttributeValue(xname, path); 293 tile.SetAttributeValue(xname, path); 304 tile.SetAttributeValue(xname, ApplicationTitle); 343 splash.SetAttributeValue(xname, path);
GenerateTizenManifest.cs (6)
179 splashscreenElement.SetAttributeValue("src", image.Value); 180 splashscreenElement.SetAttributeValue("type", "img"); 181 splashscreenElement.SetAttributeValue(DpiName, image.Key.Resolution); 182 splashscreenElement.SetAttributeValue("orientation", image.Key.Orientation); 183 splashscreenElement.SetAttributeValue("indicator-display", "false"); 195 element.SetAttributeValue(attrName, value);
Microsoft.NET.Sdk.Publish.Tasks (11)
WebConfigTransform.cs (11)
82aspNetCoreElement.SetAttributeValue("name", "aspNetCore"); 99aspNetCoreElement.SetAttributeValue("processPath", appPath); 105aspNetCoreElement.SetAttributeValue("processPath", appPath); 109aspNetCoreElement.SetAttributeValue("processPath", "dotnet"); 137aspNetCoreElement.SetAttributeValue("stdoutLogFile", logPath); 183aspNetCoreElement.SetAttributeValue("hostingModel", aspNetCoreHostingModelValue); 186aspNetCoreElement.SetAttributeValue("hostingModel", aspNetCoreHostingModelValue); 206envVariableElement.SetAttributeValue("name", "ASPNETCORE_ENVIRONMENT"); 207envVariableElement.SetAttributeValue("value", environmentName); 223element.SetAttributeValue(attributeName, (string?)element.Attribute(attributeName) ?? value); 242aspNetCoreElement.SetAttributeValue("arguments", arguments.Trim());
NuGet.Configuration (12)
Settings\Items\AuthorItem.cs (1)
56element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\CredentialsItem.cs (1)
234element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\FileClientCertItem.cs (1)
150element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\OwnersItem.cs (1)
80element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\PackageSourceMappingSourceItem.cs (1)
141element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\RepositoryItem.cs (1)
125element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\StoreClientCertItem.cs (1)
226element.SetAttributeValue(attr.Key, attr.Value);
Settings\Items\UnknownItem.cs (1)
158element.SetAttributeValue(attr.Key, attr.Value);
Settings\SettingElement.cs (1)
124element.SetAttributeValue(attr.Key, attr.Value);
Settings\SettingItem.cs (2)
85xElement.SetAttributeValue(attribute.Key, value); 97xElement.SetAttributeValue(attribute.Key, attribute.Value);
Settings\SettingsGroup.cs (1)
66element.SetAttributeValue(attr.Key, attr.Value);
NuGet.Packaging (4)
PackageCreation\Xml\PackageMetadataXmlExtensions.cs (2)
37elem.SetAttributeValue("minClientVersion", metadata.MinClientVersionString); 189groupElem.SetAttributeValue(identifierAttributeName, groupIdentifier);
PackagesConfigWriter.cs (2)
469existingNode.SetAttributeValue(name, value: null); 479existingNode.SetAttributeValue(name, newValue);
sdk-tasks (1)
OverrideAndCreateBundledNETCoreAppPackageVersion.cs (1)
95item2.SetAttributeValue(updateAttr, v0);
System.Private.Xml.Linq (3)
System\Xml\Linq\XAttribute.cs (1)
189/// <seealso cref="XElement.SetAttributeValue"/>
System\Xml\Linq\XElement.cs (2)
1241/// <seealso cref="XElement.SetAttributeValue"/> 1278/// <seealso cref="XElement.SetAttributeValue"/>