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)
221project.Descendants("TargetFramework").Remove(); 242project.DescendantNodes().OfType<XComment>().Remove(); 252project.Elements("PropertyGroup").Elements().Where(p => compilationOnly.Contains(p.Name.LocalName, StringComparer.Ordinal)).Remove(); 255group.Elements().Where(item => item.Name.LocalName == "Using").Remove(); 283groups.Remove();