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)
323nugetConfigPath: temporaryNuGetConfig?.ConfigFile.FullName, 761restoreConfigFile: 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)
760var doc = XDocument.Load(result.ConfigFile.FullName); 770var tempConfigDir = result.ConfigFile.Directory!.FullName; 819var doc = XDocument.Load(result.ConfigFile.FullName); 827var tempConfigDir = result.ConfigFile.Directory!.FullName; 879var doc = XDocument.Load(result.ConfigFile.FullName); 908var doc = XDocument.Load(result.ConfigFile.FullName); 937var doc = XDocument.Load(result.ConfigFile.FullName); 950var tempConfigDir = result.ConfigFile.Directory!.FullName; 984var doc = XDocument.Load(result.ConfigFile.FullName); 1030var doc = XDocument.Load(result.ConfigFile.FullName); 1053var doc = XDocument.Load(result.ConfigFile.FullName);