Fixing csiExe to use the proper extension (or lack-there-of) on Linux/Mac.

This commit is contained in:
Tanner Gooding 2016-01-07 13:54:49 -08:00
parent 51d5b5baef
commit 6afed87965

View file

@ -121,7 +121,7 @@ namespace Microsoft.DotNet.Tools.Repl.Csi
private static int Run(string script, string targetFramework, string buildConfiguration, bool preserveTemporaryOutput, string projectPath, IEnumerable<string> remainingArguments)
{
var corerun = Path.Combine(AppContext.BaseDirectory, Constants.HostExecutableName);
var csiExe = Path.Combine(AppContext.BaseDirectory, "csi.exe");
var csiExe = Path.Combine(AppContext.BaseDirectory, $"csi{Constants.ExeSuffix}");
var csiArgs = new StringBuilder();
if (buildConfiguration == null)