Browse Source

Update TelemetrySolutionInfoEnricher.cs

pull/24395/head
SALİH ÖZKARA 9 months ago
parent
commit
ba71174d5e
  1. 4
      framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Activity/Providers/TelemetrySolutionInfoEnricher.cs

4
framework/src/Volo.Abp.Core/Volo/Abp/Internal/Telemetry/Activity/Providers/TelemetrySolutionInfoEnricher.cs

@ -181,7 +181,7 @@ internal sealed class TelemetrySolutionInfoEnricher : TelemetryActivityEventEnri
if (solutionPath.EndsWith(".sln"))
{
solutionPath = solutionPath[..^4] + ".abpsln";
solutionPath = solutionPath.RemovePostFix(".sln") + ".abpsln";
if (File.Exists(solutionPath))
{
return solutionPath;
@ -190,7 +190,7 @@ internal sealed class TelemetrySolutionInfoEnricher : TelemetryActivityEventEnri
if (solutionPath.EndsWith(".slnx"))
{
solutionPath = solutionPath[..^5] + ".abpsln";
solutionPath = solutionPath.RemovePostFix(".slnx") + ".abpsln";
if (File.Exists(solutionPath))
{
return solutionPath;

Loading…
Cancel
Save