@@ -1776,19 +1776,6 @@ let GetFSharpCoreLibraryName () = "FSharp.Core"
17761776// If necessary assume a reference to the latest .NET Framework FSharp.Core with which those tools are built.
17771777let GetDefaultFSharpCoreReference () = typeof< list< int>>. Assembly.Location
17781778
1779- // If necessary assume a reference to the latest System.ValueTuple with which those tools are built.
1780- let GetDefaultSystemValueTupleReference () =
1781- #if COMPILER_ SERVICE_ AS_ DLL
1782- None// TODO, right now FCS doesn't add this reference automatically
1783- #else
1784- try
1785- let asm = typeof< System.ValueTuple< int, int>>. Assembly
1786- if asm.FullName.StartsWith" System.ValueTuple" then
1787- Some asm.Location
1788- else None
1789- with _ -> None
1790- #endif
1791-
17921779let GetFsiLibraryName () = " FSharp.Compiler.Interactive.Settings"
17931780
17941781// This list is the default set of references for "non-project" files.
@@ -1821,10 +1808,10 @@ let DefaultReferencesForScriptsAndOutOfProjectSources(assumeDotNetFramework) =
18211808yield " System.Collections" // System.Collections.Generic.List<T>
18221809yield " System.Runtime.Numerics" // BigInteger
18231810yield " System.Threading" // OperationCanceledException
1824- // always include a default reference to System.ValueTuple.dll in scripts and out-of-project sources
1825- match GetDefaultSystemValueTupleReference () with
1826- | None -> ()
1827- | Some v -> yield v
1811+ #if ! COMPILER _ SERVICE _ AS _ DLL
1812+ // TODO, right now FCS doesn't add this reference automatically
1813+ yield " System.ValueTuple "
1814+ #endif
18281815
18291816yield " System.Web"
18301817yield " System.Web.Services"