diff --git a/src/fsharp/Fsc-proto/Fsc-proto.fsproj b/src/fsharp/Fsc-proto/Fsc-proto.fsproj index dbe51512d79..0c16d80809e 100644 --- a/src/fsharp/Fsc-proto/Fsc-proto.fsproj +++ b/src/fsharp/Fsc-proto/Fsc-proto.fsproj @@ -26,6 +26,10 @@ fscmain.fs + + fsc-proto.exe.config + PreserveNewest + diff --git a/src/fsharp/Fsc-proto/fsc-proto.exe.config b/src/fsharp/Fsc-proto/fsc-proto.exe.config index 2ac619ab917..f3f56cb6aea 100644 --- a/src/fsharp/Fsc-proto/fsc-proto.exe.config +++ b/src/fsharp/Fsc-proto/fsc-proto.exe.config @@ -1,17 +1,6 @@ - - - + @@ -19,5 +8,4 @@ - diff --git a/src/fsharp/Fsc/fsc.exe.config b/src/fsharp/Fsc/fsc.exe.config index e058547d32d..fc7e2236a67 100644 --- a/src/fsharp/Fsc/fsc.exe.config +++ b/src/fsharp/Fsc/fsc.exe.config @@ -2,6 +2,7 @@ + main4 let mainCompile (argv,bannerAlreadyPrinted,exiter:Exiter) = + // Enabling batch latency mode currently overrides app config . + // If batch mode is ever removed or changed, revisit use of . System.Runtime.GCSettings.LatencyMode <- System.Runtime.GCLatencyMode.Batch typecheckAndCompile(argv, bannerAlreadyPrinted, exiter, DefaultLoggerProvider()) diff --git a/tests/fsharpqa/testenv/src/HostedCompilerServer/App.config b/tests/fsharpqa/testenv/src/HostedCompilerServer/App.config index 8e15646352e..f888c777ac1 100644 --- a/tests/fsharpqa/testenv/src/HostedCompilerServer/App.config +++ b/tests/fsharpqa/testenv/src/HostedCompilerServer/App.config @@ -3,4 +3,8 @@ + + + + \ No newline at end of file