8 references to Remove
aspire (2)
NuGet\TemporaryNuGetConfigFile.cs (2)
120.Remove(); 121document.Descendants("config").Where(static section => !section.Elements().Any()).Remove();
Aspire.Templates.Tests (1)
BuildAndRunTemplateTests.cs (1)
166.Remove();
GenerateTemplateManifest (5)
TemplateRestorePlan.cs (5)
217project.Descendants("TargetFramework").Remove(); 238project.DescendantNodes().OfType<XComment>().Remove(); 248project.Elements("PropertyGroup").Elements().Where(p => compilationOnly.Contains(p.Name.LocalName, StringComparer.Ordinal)).Remove(); 251group.Elements().Where(item => item.Name.LocalName == "Using").Remove(); 279groups.Remove();