162 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");
IIS.FunctionalTests (9)
IIS.LongTests (14)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1317site.Element("application").SetAttributeValue("path", "/" + appName);
1341.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1370.SetAttributeValue("bindingInformation", $":{port}:localhost");
1376.SetAttributeValue("sslFlags", "None");
IIS.NewHandler.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1317site.Element("application").SetAttributeValue("path", "/" + appName);
1341.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1370.SetAttributeValue("bindingInformation", $":{port}:localhost");
1376.SetAttributeValue("sslFlags", "None");
IIS.ShadowCopy.Tests (4)
IIS.Tests (3)
IISExpress.FunctionalTests (19)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
578element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
583element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1317site.Element("application").SetAttributeValue("path", "/" + appName);
1341.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1370.SetAttributeValue("bindingInformation", $":{port}:localhost");
1376.SetAttributeValue("sslFlags", "None");
Microsoft.AspNetCore.DataProtection (5)
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (40)
IISDeploymentParameterExtensions.cs (21)
33binding.SetAttributeValue("protocol", "https");
38access.SetAttributeValue("sslFlags", "None");
51.SetAttributeValue("protocol", "https");
56.SetAttributeValue("sslFlags", "Ssl, SslNegotiateCert");
74windowsAuthentication.SetAttributeValue("enabled", enabled);
91.SetAttributeValue("enabled", enabled);
107.SetAttributeValue("enabled", enabled);
126.SetAttributeValue("overrideModeDefault", "Allow");
160addElement.SetAttributeValue("path", "*");
163.SetAttributeValue("statusCodes", "200-999");
169innerAddElement.SetAttributeValue("areas", "ANCM");
170innerAddElement.SetAttributeValue("verbosity", verbosity);
186innerAddElement.SetAttributeValue("name", "WWW Server");
187innerAddElement.SetAttributeValue("guid", "{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}");
192iae.SetAttributeValue("value", "65536");
204traceFailedRequestsElement.SetAttributeValue("directory", folderPath);
205traceFailedRequestsElement.SetAttributeValue("enabled", "true");
206traceFailedRequestsElement.SetAttributeValue("maxLogFileSizeKB", "1024");
216aspNetCoreElement.SetAttributeValue("processPath", transformation((string)aspNetCoreElement.Attribute("processPath"), contentRoot));
226aspNetCoreElement.SetAttributeValue("arguments", transformation((string)aspNetCoreElement.Attribute("arguments"), contentRoot));
246.SetAttributeValue("image", modulePath);
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Microsoft.DotNet.Build.Tasks.Installers (3)
Microsoft.DotNet.Build.Tasks.Workloads (2)
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);
System.Private.Xml.Linq (3)