37 references to ConfigFile
aspire (18)
Packaging\NuGetConfigMerger.cs (3)
97proposedDocument.Load(tmpConfig.ConfigFile.FullName); 109await AddGlobalPackagesFolderToConfigAsync(tmpConfig.ConfigFile); 112File.Copy(tmpConfig.ConfigFile.FullName, targetPath, overwrite: true);
Packaging\PackageChannel.cs (12)
175tasks.Add(nuGetPackageCache.GetTemplatePackagesAsync(workingDirectory, false, tempNuGetConfig?.ConfigFile, cancellationToken)); 180tasks.Add(nuGetPackageCache.GetTemplatePackagesAsync(workingDirectory, true, tempNuGetConfig?.ConfigFile, cancellationToken)); 224tasks.Add(nuGetPackageCache.GetIntegrationPackagesAsync(workingDirectory, false, tempNuGetConfig?.ConfigFile, cancellationToken)); 229tasks.Add(nuGetPackageCache.GetIntegrationPackagesAsync(workingDirectory, true, tempNuGetConfig?.ConfigFile, cancellationToken)); 393tasks.Add(nuGetPackageCache.GetPackagesAsync(workingDirectory, PolyglotTagSearchTerm, filter: null, prerelease: false, tempNuGetConfig?.ConfigFile, useCache: true, cancellationToken)); 398tasks.Add(nuGetPackageCache.GetPackagesAsync(workingDirectory, PolyglotTagSearchTerm, filter: null, prerelease: true, tempNuGetConfig?.ConfigFile, useCache: true, cancellationToken)); 508nugetConfigFile: tempNuGetConfig?.ConfigFile, 520nugetConfigFile: tempNuGetConfig?.ConfigFile, 541nugetConfigFile: tempNuGetConfig?.ConfigFile, 598nugetConfigFile: tempNuGetConfig?.ConfigFile, 609nugetConfigFile: tempNuGetConfig?.ConfigFile, 629nugetConfigFile: tempNuGetConfig?.ConfigFile,
Projects\PrebuiltAppHostServer.cs (2)
361nugetConfigPath: temporaryNuGetConfig?.ConfigFile.FullName, 800restoreConfigFile: temporaryNuGetConfig?.ConfigFile.FullName);
Templating\TemplateNuGetConfigService.cs (1)
453nugetConfigFile: temporaryConfig?.ConfigFile,
Aspire.Cli.Tests (19)
Packaging\NuGetConfigMergerTests.cs (1)
50var expected = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName);
Packaging\TemporaryNuGetConfigTests.cs (7)
26var configContent = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName); 65var configContent = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName); 96var configContent = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName); 119var configContent = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName); 141var configContent = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName); 160var configContent = await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName); 194xmlDoc.LoadXml(await File.ReadAllTextAsync(tempConfig.ConfigFile.FullName));
Projects\PrebuiltAppHostServerTests.cs (11)
914var doc = XDocument.Load(result.ConfigFile.FullName); 924var tempConfigDir = result.ConfigFile.Directory!.FullName; 973var doc = XDocument.Load(result.ConfigFile.FullName); 981var tempConfigDir = result.ConfigFile.Directory!.FullName; 1033var doc = XDocument.Load(result.ConfigFile.FullName); 1062var doc = XDocument.Load(result.ConfigFile.FullName); 1091var doc = XDocument.Load(result.ConfigFile.FullName); 1104var tempConfigDir = result.ConfigFile.Directory!.FullName; 1138var doc = XDocument.Load(result.ConfigFile.FullName); 1184var doc = XDocument.Load(result.ConfigFile.FullName); 1207var doc = XDocument.Load(result.ConfigFile.FullName);