1 write to _cacheFilePath
aspire (1)
Telemetry\InternalMicrosoftDetector.cs (1)
81_cacheFilePath = cacheFilePath;
6 references to _cacheFilePath
aspire (6)
Telemetry\InternalMicrosoftDetector.cs (6)
301if (!File.Exists(_cacheFilePath)) 308var json = await File.ReadAllTextAsync(_cacheFilePath, cancellationToken).ConfigureAwait(false); 324_logger.LogDebug(ex, "Failed to read Microsoft internal detector cache from {CacheFilePath}.", _cacheFilePath); 332var directory = Path.GetDirectoryName(_cacheFilePath); 353File.Move(tempPath, _cacheFilePath, overwrite: true); 359_logger.LogDebug(ex, "Failed to write Microsoft internal detector cache to {CacheFilePath}.", _cacheFilePath);