1 write to _cacheFilePath
aspire (1)
Telemetry\InternalMicrosoftDetector.cs (1)
95_cacheFilePath = cacheFilePath;
6 references to _cacheFilePath
aspire (6)
Telemetry\InternalMicrosoftDetector.cs (6)
491if (!File.Exists(_cacheFilePath)) 498var json = await File.ReadAllTextAsync(_cacheFilePath, cancellationToken).ConfigureAwait(false); 529_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.", _cacheFilePath); 549var directory = Path.GetDirectoryName(_cacheFilePath); 572File.Move(tempPath, _cacheFilePath, overwrite: true); 578_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.", _cacheFilePath);