From a2a319c55a33ea097203faf485a239fd41c2e776 Mon Sep 17 00:00:00 2001 From: Enrico Sada Date: Tue, 9 Feb 2016 15:34:04 +0100 Subject: [PATCH] support project.json compilationOptions.additionalArguments --- src/dotnet/commands/dotnet-compile-fsc/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dotnet/commands/dotnet-compile-fsc/Program.cs b/src/dotnet/commands/dotnet-compile-fsc/Program.cs index 0dd36f998..271ec0987 100644 --- a/src/dotnet/commands/dotnet-compile-fsc/Program.cs +++ b/src/dotnet/commands/dotnet-compile-fsc/Program.cs @@ -175,6 +175,12 @@ namespace Microsoft.DotNet.Tools.Compiler.Fsc { } + // Additional arguments are added verbatim + if (options.AdditionalArguments != null) + { + commonArgs.AddRange(options.AdditionalArguments); + } + if (options.LanguageVersion != null) { }