in src/ServiceProfiler.EventPipe.Otel/Microsoft.ApplicationInsights.Profiler.Shared/Services/UploaderProxy/UploaderLocatorByUnzipping.cs [31:47]
protected override string? GetUploaderFullPath()
{
Logger.LogTrace("ProfilerCoreAssemblyInfo.Directory.FullName: {value}", _profilerCoreAssemblyInfo.Directory.FullName);
string? uploaderPath = null;
foreach (string zipFolder in GetZipDirectories())
{
uploaderPath = GetUploaderFullPath(zipFolder);
if (!string.IsNullOrEmpty(uploaderPath))
{
// Extracted uploader is found. Stop searching.
break;
}
}
return uploaderPath;
}