111 references to Load
aspire (1)
Projects\FallbackProjectParser.cs (1)
74var doc = XDocument.Load(projectFile.FullName);
Aspire.Cli.Tests (14)
Packaging\NuGetConfigMergerSnapshotTests.cs (5)
86var updated = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 148var updated = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 209var updated = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 268var updated = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 332var updated = XDocument.Load(Path.Combine(root.FullName, "NuGet.config"));
Packaging\NuGetConfigMergerTests.cs (8)
92var xml = XDocument.Load(targetConfigPath); 133var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 172var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 212var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 322var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 372var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 441var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config")); 507var xml = XDocument.Load(Path.Combine(root.FullName, "NuGet.config"));
Packaging\PackagingServiceTests.cs (1)
377var doc = XDocument.Load(nugetConfigPath);
BuildBoss (1)
ProjectUtil.cs (1)
30: this(new ProjectKey(filePath), XDocument.Load(filePath))
dotnet.Tests (1)
GivenThatWeWantToBeBackwardsCompatibleWith1xProjects.cs (1)
87var projectXml = XDocument.Load(projectFile);
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
428XDocument doc = XDocument.Load(filePath);
EndToEnd.Tests (8)
GivenSelfContainedAppsRollForward.cs (2)
26var project = XDocument.Load(projectPath); 53var project = XDocument.Load(projectPath);
GivenUsingDefaultRuntimeFrameworkVersions.cs (1)
30var project = XDocument.Load(projectFile);
GivenWindowsApp.cs (1)
29var project = XDocument.Load(projectPath);
ProjectBuildTests.cs (3)
25var project = XDocument.Load(projectPath); 67var project = XDocument.Load(projectPath); 431XDocument projectXml = XDocument.Load(projectFile);
Utilities\TestProjectCreator.cs (1)
39var project = XDocument.Load(projectPath);
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
151var xDocument = XDocument.Load(xmlFile).Root;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
100var document = XDocument.Load(webConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
78ancmConfig = XDocument.Load(ancmConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (1)
102XDocument webConfig = XDocument.Load(webConfigLocation);
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
100var document = XDocument.Load(webConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
78ancmConfig = XDocument.Load(ancmConfigPath);
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
100var document = XDocument.Load(webConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
78ancmConfig = XDocument.Load(ancmConfigPath);
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
100var document = XDocument.Load(webConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
78ancmConfig = XDocument.Load(ancmConfigPath);
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
100var document = XDocument.Load(webConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\RequiresIISAttribute.cs (1)
78ancmConfig = XDocument.Load(ancmConfigPath);
IIS.Tests (1)
Utilities\TestServer.cs (1)
125var webHostConfig = XDocument.Load(Path.GetFullPath("HostableWebCore.config"));
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
151var xDocument = XDocument.Load(xmlFile).Root;
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (1)
100var document = XDocument.Load(webConfigPath);
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (1)
102XDocument webConfig = XDocument.Load(webConfigLocation);
ILLink.Tasks (1)
CombineLinkerXmlFiles.cs (1)
33XDocument subFile = XDocument.Load(linkerXmlFile.ItemSpec);
Microsoft.AspNetCore.App.UnitTests (5)
SharedFxTests.cs (2)
268var runtimeListDoc = XDocument.Load(runtimeListPath); 321var runtimeListDoc = XDocument.Load(runtimeListPath);
TargetingPackTests.cs (3)
316var frameworkListDoc = XDocument.Load(frameworkListPath); 379var frameworkListDoc = XDocument.Load(frameworkListPath); 421var frameworkListDoc = XDocument.Load(frameworkListPath);
Microsoft.AspNetCore.Server.IntegrationTesting (2)
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
154var webConfig = XDocument.Load(webConfigFilePath);
xunit\IISExpressAncmSchema.cs (1)
35ancmConfig = XDocument.Load(ancmConfigPath);
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISDeployerBase.cs (2)
25var document = XDocument.Load(ApplicationHostConfigPath); 44var webconfig = XDocument.Load(path);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (1)
65var document = XDocument.Load(filePath);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
InlineCompletions\TestSnippetInfoService.cs (1)
34var testSnippetsXml = XDocument.Load(snippetsFile);
Microsoft.DotNet.Arcade.Sdk (2)
src\ExtractNgenMethodList.cs (1)
53var document = XDocument.Load(IbcXmlFilePath);
src\GenerateResxSource.cs (1)
106foreach (var node in XDocument.Load(ResourceFile).Descendants("data"))
Microsoft.DotNet.Build.Tasks.Installers (6)
src\CreateWixBuildWixpack.cs (3)
219IngestDefineVariablesFromString(XDocument.Load(file).ToString()); 243XDocument xmlDocument = XDocument.Load(file); 534var doc = XDocument.Load(copiedXmlPath);
src\CreateWixCommandPackageDropBase.cs (1)
192XDocument doc = XDocument.Load(wixObjFilePath);
src\GenerateMacOSDistributionFile.cs (1)
39XDocument document = XDocument.Load(TemplatePath);
src\StabilizeWixFileId.cs (1)
52XDocument content = XDocument.Load(SourceFile);
Microsoft.DotNet.Build.Tasks.Packaging (1)
PackageIndex.cs (1)
216XDocument frameworkList = XDocument.Load(frameworkListPath);
Microsoft.DotNet.Build.Tasks.Workloads (4)
Msi\MsiPayloadPackageProject.wix.cs (1)
57var proj = XDocument.Load(msiCsproj);
Msi\WorkloadPackGroupMsi.wix.cs (3)
84var directoriesDoc = XDocument.Load(directoriesWxsPath); 92var productDoc = XDocument.Load(productWxsPath); 100var registryDoc = XDocument.Load(registryWxsPath);
Microsoft.DotNet.SignTool.Tests (1)
FakeBuildEngine.cs (1)
42var xml = XDocument.Load(projectFileName);
Microsoft.DotNet.XliffTasks (1)
Tasks\TransformTemplates.cs (1)
66XDocument templateXml = XDocument.Load(templatePath);
Microsoft.Extensions.SecretManager.Tools.Tests (1)
InitCommandTest.cs (1)
96var projectDocument = XDocument.Load(projectFile);
Microsoft.Maui.Resizetizer (2)
GeneratePackageAppxManifest.cs (1)
53 var appx = XDocument.Load(AppxManifest.ItemSpec);
GenerateTizenManifest.cs (1)
65 var manifest = XDocument.Load(_tizenManifestFilePath);
Microsoft.NET.Build.Containers.IntegrationTests (3)
EndToEndTests.cs (1)
579var project = XDocument.Load(projectPath);
PackageTests.cs (2)
27XDocument project = XDocument.Load(projectFilePath); 57XDocument project = XDocument.Load(projectFilePath);
Microsoft.NET.Build.Extensions.Tasks (1)
FrameworkListReader.cs (1)
65var frameworkList = XDocument.Load(frameworkListPath);
Microsoft.NET.Build.Tasks (5)
FrameworkListReader.cs (1)
65var frameworkList = XDocument.Load(frameworkListPath);
ResolveRuntimePackAssets.cs (1)
166XDocument frameworkListDoc = XDocument.Load(runtimeListPath);
ResolveTargetingPackAssets.cs (1)
316XDocument frameworkListDoc = XDocument.Load(definition.FrameworkListPath);
StoreArtifactParser.cs (1)
19var doc = XDocument.Load(filterFile);
WriteAppConfigWithSupportedRuntime.cs (1)
159document = XDocument.Load(appConfigItem.ItemSpec);
Microsoft.NET.Build.Tasks.UnitTests (1)
GivenThatWeHaveErrorCodes.cs (1)
98var doc = XDocument.Load("Strings.resx");
Microsoft.NET.Build.Tests (3)
DesignTimeBuildTests.cs (1)
233var project = XDocument.Load(projectFilePath);
GivenThatWeWantToBuildAWindowsDesktopProject.cs (2)
158var project = XDocument.Load(projFile); 264var project = XDocument.Load(projectPath);
Microsoft.NET.Pack.Tests (4)
GivenThatThereAreImplicitPackageReferences.cs (1)
267var nuspec = XDocument.Load(nuspecPath);
GivenThatWeWantToPackAHelloWorldProject.cs (1)
33var nuspec = XDocument.Load(nuspecPath);
GivenThatWeWantToPackANetFrameworkLibrary.cs (2)
26var nuspec = XDocument.Load(nuspecPath); 57var nuspec = XDocument.Load(nuspecPath);
Microsoft.NET.Publish.Tests (4)
GivenThatWeWantToPublishTrimmedWindowsFormsAndWPFApps.cs (2)
126var project = XDocument.Load(Path.Combine(testDir.Path, Path.GetFileName(testDir.Path) + ".csproj")); 198var project = XDocument.Load(Path.Combine(testDir.Path, Path.GetFileName(testDir.Path) + ".csproj"));
GivenThatWeWantToStoreAProjectWithDependencies.cs (1)
343from element in XDocument.Load(path).Root.Elements("Package")
PublishWpfApp.cs (1)
26var project = XDocument.Load(Path.Combine(testDir.Path, Path.GetFileName(testDir.Path) + ".csproj"));
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (1)
BlazorReadSatelliteAssemblyFile.cs (1)
21var document = XDocument.Load(ReadFile.ItemSpec);
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\TransformWebConfig.cs (1)
110webConfigXml = XDocument.Load(publishWebConfigPath);
Microsoft.NET.TestFramework (8)
Commands\GetValuesCommand.cs (1)
68var project = XDocument.Load(ProjectFile);
OutputPathCalculator.cs (2)
87var project = XDocument.Load(projectPath); 128var dbp = XDocument.Load(directoryBuildPropsFile);
ProjectConstruction\TestProject.cs (1)
160var projectXml = XDocument.Load(sourceProject);
TestAsset.cs (3)
263var project = XDocument.Load(projectFile); 293XDocument doc = XDocument.Load(propsFilePath); 305XDocument csprojDoc = XDocument.Load(projectPath);
TestCommandLine.cs (1)
153var testConfig = XDocument.Load(testConfigFile);
Microsoft.NET.ToolPack.Tests (3)
GivenThatWeWantToPackAToolProject.cs (1)
113XElement command = XDocument.Load(copiedFile)
GivenThatWeWantToPackAToolProjectWithExplicitConfig.cs (2)
43XDocument.Load(copiedFile) 78XDocument.Load(copiedFile)
Microsoft.VisualStudio.LanguageServices.Implementation (1)
SolutionExplorer\DiagnosticItem\DiagnosticItem.cs (1)
55var ruleSetDocument = XDocument.Load(pathToRuleSet);
sdk-tasks (3)
GetDependencyInfo.cs (1)
30XDocument document = XDocument.Load(VersionDetailsXmlFile);
OverrideAndCreateBundledNETCoreAppPackageVersion.cs (2)
31var stage0Doc = XDocument.Load(Stage0BundledVersionsPath); 32var stage2Doc = XDocument.Load(Stage2BundledVersionsPath);
System.Private.Xml.Linq (1)
System\Xml\Linq\XElement.cs (1)
549/// <seealso cref="XDocument.Load(string)" />