From 5106376cbb078483465f2e7a711d3cf1f7057c7d Mon Sep 17 00:00:00 2001 From: Kiran Challa Date: Thu, 25 Feb 2016 12:59:30 -0800 Subject: [PATCH] Remove the 'exe' extension to enable tests to run on non-Windows platforms --- .../Deployers/SelfHostDeployer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Server.Testing/Deployers/SelfHostDeployer.cs b/src/Microsoft.AspNetCore.Server.Testing/Deployers/SelfHostDeployer.cs index a803f09b65..9c924e2b5f 100644 --- a/src/Microsoft.AspNetCore.Server.Testing/Deployers/SelfHostDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.Testing/Deployers/SelfHostDeployer.cs @@ -53,7 +53,7 @@ namespace Microsoft.AspNetCore.Server.Testing string executableArgs = string.Empty; if (DeploymentParameters.PublishApplicationBeforeDeployment) { - executableName = Path.Combine(DeploymentParameters.PublishedApplicationRootPath, new DirectoryInfo(DeploymentParameters.ApplicationPath).Name + ".exe"); + executableName = Path.Combine(DeploymentParameters.PublishedApplicationRootPath, new DirectoryInfo(DeploymentParameters.ApplicationPath).Name); } else {