221 references to XElement
aspire (8)
aspire-tray (2)
Aspire.Cli.Tests (1)
Aspire.Hosting.Azure.Provisioning.Generators (3)
Aspire.Hosting.Dotnet (9)
Aspire.Hosting.Maui (6)
Aspire.Templates.Tests (2)
Aspire.Tray.Tests (2)
dotnet-svcutil-lib (6)
Shared\MSBuildProj.cs (6)
541this.ReferenceGroup.Add(new XElement("Reference", new XAttribute("Include", dependency.AssemblyName), new XElement("HintPath", dependency.FullPath)));
544this.PacakgeReferenceGroup.Add(new XElement("PackageReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version)));
547this.ReferenceGroup.Add(new XElement("DotNetCliToolReference", new XAttribute("Include", dependency.Name), new XAttribute("Version", dependency.Version)));
561this.ReferenceGroup.Add(new XElement("Content",
571this.PacakgeReferenceGroup.Add(new XElement("Content",
598XElement element = new XElement(propertyName, null);
GenerateDocumentationAndConfigFiles (5)
GenerateTemplateManifest (9)
TemplateRestorePlan.cs (5)
147var project = new XElement("Project", new XAttribute("Sdk", "Microsoft.NET.Sdk"),
148new XElement("PropertyGroup",
168project.Add(new XElement("ItemGroup", new XElement("PackageReference", new XAttribute("Include", name), new XAttribute("Version", value))));
282project.Add(new XElement(groupName, elements));
293root.AddFirst(new XElement("PropertyGroup",
illink (3)
Infrastructure.Tests (35)
Hex1bNativePublishingTests.cs (17)
406nativeItems.Add(new XElement(rid.Length == 0 ? "RuntimeTargetsCopyLocalItems" : "NativeCopyLocalItems",
416var unrelatedItem = new XElement("ResolvedFileToPublish",
421var publishItems = new XElement("ItemGroup",
422new XElement("ResolvedFileToPublish",
428publishItems.Add(new XElement("ResolvedFileToPublish",
436var project = new XDocument(new XElement("Project",
437new XElement("PropertyGroup",
440new XElement("Import", new XAttribute("Project", "Sdk.props"), new XAttribute("Sdk", "Microsoft.NET.Sdk")),
441new XElement("PropertyGroup",
446new XElement("Import", new XAttribute("Project", "Sdk.targets"), new XAttribute("Sdk", "Microsoft.NET.Sdk")),
448new XElement("Target", new XAttribute("Name", "ResolvePackageAssets"), nativeItems),
449new XElement("Target", new XAttribute("Name", "_ResolveCopyLocalAssetsForPublish"),
451new XElement("ItemGroup", new XElement("_ResolvedCopyLocalPublishAssets",
455new XElement("Target", new XAttribute("Name", "ComputeResolvedFilesToPublishList"),
457new XElement("Target", new XAttribute("Name", "ComputeFilesToPublish"),
459new XElement("Target", new XAttribute("Name", "CopyTestFiles"),
461new XElement("Copy", new XAttribute("SourceFiles", "@(ResolvedFileToPublish)"),
TemplateManifest\TemplateManifestTestEnvironment.cs (7)
50new XDocument(new XElement("configuration",
51new XElement("packageSources",
53new XElement("add", new XAttribute("key", "external"), new XAttribute("value", ExternalFeed))),
54new XElement("packageSourceMapping",
56new XElement("packageSource", new XAttribute("key", "external"),
119new XElement("metadata",
126new XElement("dependency", new XAttribute("id", dependency.Name),
Microsoft.AspNetCore.DataProtection (15)
Microsoft.Build.Tasks.Core (5)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (5)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Workspaces (11)
Microsoft.DotNet.Build.Manifest (4)
Microsoft.DotNet.Build.Tasks.Installers (2)
Microsoft.DotNet.Build.Tasks.Workloads (5)
Microsoft.DotNet.PackageTesting (5)
Microsoft.DotNet.SharedFramework.Sdk (7)
Microsoft.DotNet.SourceBuild.Tasks (5)
Microsoft.DotNet.XliffTasks (4)
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (2)
Microsoft.ML.Maml (2)
Microsoft.NET.Build.Tasks (2)
Microsoft.NET.HostModel (3)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (2)
Microsoft.NET.Sdk.Publish.Tasks (1)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (6)
NuGet.Commands (7)
NuGet.Configuration (1)
NuGet.Packaging (16)
Roslyn.Diagnostics.Analyzers (5)