diff --git a/test/profiler/Elastic.Apm.Profiler.Managed.Tests/ProfiledApplication.cs b/test/profiler/Elastic.Apm.Profiler.Managed.Tests/ProfiledApplication.cs index 354fecad57..5e6fa0c81b 100644 --- a/test/profiler/Elastic.Apm.Profiler.Managed.Tests/ProfiledApplication.cs +++ b/test/profiler/Elastic.Apm.Profiler.Managed.Tests/ProfiledApplication.cs @@ -56,7 +56,7 @@ protected ProfiledApplication(string projectName, params string[] folders) profilerFile = "libelastic_apm_profiler.dylib"; _profilerPath = TestEnvironment.IsLinux ? - Path.Combine(SolutionPaths.Root, "target", "x86_64-unknown-linux-gnu/release", "release", profilerFile) : + Path.Combine(SolutionPaths.Root, "target", "x86_64-unknown-linux-gnu", "release", profilerFile) : Path.Combine(SolutionPaths.Root, "target", "release", profilerFile); if (!File.Exists(_profilerPath))