190 references to Load
aspire (7)
Aspire.Cli.EndToEnd.Tests (14)
Aspire.Cli.Tests (123)
DotNet\DotNetAppHostNuGetConfigMergerTests.cs (29)
112configurations.Add(new XElement("selection", new XAttribute("feed", name), XDocument.Load(config.FullName).Root));
332Assert.Empty(XDocument.Load(candidate.TargetFile.FullName).Descendants("packageSource"));
414Assert.Single(XDocument.Load(target.FullName).Root!.Element("packageSources")!.Elements("add"));
415Assert.Single(XDocument.Load(target.FullName).Root!.Element("packageSourceMapping")!.Elements("clear"));
452var originalDisabled = XDocument.Load(target.FullName).Root!.Element("disabledPackageSources")!.ToString();
562await Verify(XDocument.Load(targetConfigPath).ToString(), "xml");
583var xml = XDocument.Load(targetConfigPath);
623var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
662var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
702var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
742var xml = XDocument.Load(target);
779var document = XDocument.Load(target.FullName);
900var document = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
943await Verify(XDocument.Load(Path.Combine(output.FullName, "nuget.config")).ToString(), "xml");
1013var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1054var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1106var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1172var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1229var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1312var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1362var xml = XDocument.Load(Path.Combine(root.FullName, "nuget.config"));
1596Assert.Equal(XDocument.Parse(update.GetProposedDocument().OuterXml).ToString(), XDocument.Load(update.TargetFile.FullName).ToString());
1720var document = XDocument.Load(target.FullName);
1781var originalDisabled = XDocument.Load(target.FullName).Root!.Element("disabledPackageSources")!.ToString();
1996var originalDisabled = XDocument.Load(target.FullName).Root!.Element("disabledPackageSources")?.ToString();
2005var proposed = XDocument.Load(target.FullName);
2069await Verify(XDocument.Load(target.FullName).ToString(), "xml")
2105await Verify(XDocument.Load(target.FullName).ToString(), "xml");
2247XDocument.Load(Path.Combine(workspace.WorkspaceRoot.FullName, "nuget.config")).ToString());
Aspire.Hosting.Java (2)
Aspire.Hosting.Native.CodeGeneration (1)
Aspire.Hosting.RemoteHost (1)
Aspire.Templates.Tests (2)
dotnet-svcutil-lib (1)
GenerateTemplateManifest (2)
ILLink.Tasks (1)
Infrastructure.Tests (5)
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Microsoft.DotNet.Arcade.Sdk (2)
Microsoft.DotNet.Build.Tasks.Installers (6)
Microsoft.DotNet.Build.Tasks.Packaging (1)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Maui.Resizetizer (2)
Microsoft.NET.Build.Extensions.Tasks (1)
Microsoft.NET.Build.Tasks (5)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
Microsoft.NET.Sdk.Publish.Tasks (1)
Microsoft.TestPlatform.Build (1)
Microsoft.TestPlatform.TestHostRuntimeProvider (2)
sdk-tasks (4)
System.Private.Xml.Linq (1)