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