diff --git a/src/Microsoft.DotNet.Cli.Utils/Constants.cs b/src/Microsoft.DotNet.Cli.Utils/Constants.cs index 378a0c3db..851504b57 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Constants.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Constants.cs @@ -33,5 +33,7 @@ namespace Microsoft.DotNet.Cli.Utils RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? "osx.10.10-x64" : "ubuntu.14.04-x64"; public static readonly string StaticLibSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".lib" : ".a" ; + + public static readonly string ResponseFileSuffix = ".rsp"; } } diff --git a/src/Microsoft.DotNet.Tools.Compiler.Csc/project.json b/src/Microsoft.DotNet.Tools.Compiler.Csc/project.json index 29f5ffff6..14bf671cf 100644 --- a/src/Microsoft.DotNet.Tools.Compiler.Csc/project.json +++ b/src/Microsoft.DotNet.Tools.Compiler.Csc/project.json @@ -7,7 +7,7 @@ "dependencies": { "NETStandard.Library": "1.0.0-rc2-23616", - "Microsoft.Net.Compilers.netcore": "1.2.0-beta-20151224-03", + "Microsoft.Net.Compilers.netcore": "1.2.0-beta1-20151228-02", "Microsoft.DotNet.Cli.Utils": { "type": "build", diff --git a/src/Microsoft.DotNet.Tools.Repl.Csi/Program.cs b/src/Microsoft.DotNet.Tools.Repl.Csi/Program.cs index 8bbb4c70d..1052810e3 100644 --- a/src/Microsoft.DotNet.Tools.Repl.Csi/Program.cs +++ b/src/Microsoft.DotNet.Tools.Repl.Csi/Program.cs @@ -2,9 +2,14 @@ // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; +using System.Collections.Generic; +using System.Linq; using System.IO; +using System.Text; using Microsoft.Dnx.Runtime.Common.CommandLine; using Microsoft.DotNet.Cli.Utils; +using Microsoft.DotNet.ProjectModel; +using NuGet.Frameworks; namespace Microsoft.DotNet.Tools.Repl.Csi { @@ -14,27 +19,166 @@ namespace Microsoft.DotNet.Tools.Repl.Csi { DebugHelper.HandleDebugSwitch(ref args); - var app = new CommandLineApplication(); + var app = new CommandLineApplication(throwOnUnexpectedArg: false); app.Name = "dotnet repl csi"; app.FullName = "C# REPL"; app.Description = "C# REPL for the .NET platform"; app.HelpOption("-h|--help"); - var script = app.Argument("