From 5728330a2f0937f4f8f3e7cd060e0a4ab604c146 Mon Sep 17 00:00:00 2001 From: Enrico Sada Date: Wed, 16 Mar 2016 16:32:42 +0100 Subject: [PATCH] use response files by default --- src/dotnet/commands/dotnet-compile-fsc/Program.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/dotnet/commands/dotnet-compile-fsc/Program.cs b/src/dotnet/commands/dotnet-compile-fsc/Program.cs index 5d49b6dbd..a47c70c3f 100644 --- a/src/dotnet/commands/dotnet-compile-fsc/Program.cs +++ b/src/dotnet/commands/dotnet-compile-fsc/Program.cs @@ -220,15 +220,8 @@ namespace Microsoft.DotNet.Tools.Compiler.Fsc var rsp = Path.Combine(tempOutDir, "dotnet-compile-fsc.rsp"); File.WriteAllLines(rsp, allArgs, Encoding.UTF8); - //with env var DOTNET_COMPILEFSC_USE_RESPONSE_FILE, use the response file instead of - //call fsc with all arguments - if (Environment.GetEnvironmentVariable("DOTNET_COMPILEFSC_USE_RESPONSE_FILE") == "1") - { - allArgs = new List { $"@{rsp}" }; - } - // Execute FSC! - var result = RunFsc(allArgs) + var result = RunFsc(new List { $"@{rsp}" }) .ForwardStdErr() .ForwardStdOut() .Execute();