Remove the 'exe' extension to enable tests to run on non-Windows platforms

This commit is contained in:
Kiran Challa 2016-02-25 12:59:30 -08:00
parent 09ad082913
commit 5106376cbb
1 changed files with 1 additions and 1 deletions

View File

@ -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
{