提交 4206a5d6 编写于 作者: K KevinRansom

restore framework types and add netfx dependencies to framework assemblies list

上级 c37c8b05
......@@ -1609,7 +1609,38 @@ let SystemAssemblies primaryAssemblyName =
yield "System.Core"
yield "System.Runtime"
yield "System.Observable"
yield "System.Numerics"]
yield "System.Numerics"
// Additions for coreclr and portable profiles
yield "System.Collections"
yield "System.Collections.Concurrent"
yield "System.Console"
yield "System.Diagnostics.Debug"
yield "System.Diagnostics.Tools"
yield "System.Globalization"
yield "System.IO"
yield "System.Linq"
yield "System.Linq.Expressions"
yield "System.Linq.Queryable"
yield "System.Net.Requests"
yield "System.Reflection"
yield "System.Reflection.Emit"
yield "System.Reflection.Emit.ILGeneration"
yield "System.Reflection.Extensions"
yield "System.Resources.ResourceManager"
yield "System.Runtime.Extensions"
yield "System.Runtime.InteropServices"
yield "System.Runtime.Numerics"
yield "System.Text.Encoding"
yield "System.Text.Encoding.Extensions"
yield "System.Text.RegularExpressions"
yield "System.Threading"
yield "System.Threading.Tasks"
yield "System.Threading.Tasks.Parallel"
yield "System.Threading.Thread"
yield "System.Threading.ThreadPool"
yield "System.Threading.Timer"
]
// The set of references entered into the TcConfigBuilder for scripts prior to computing
// the load closure.
......@@ -2673,8 +2704,7 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
/// is a resource that can be shared between any two IncrementalBuild objects that reference
/// precisely S
///
/// Determined by looking at the set of assemblies in the framework assemblies directory, plus the
/// F# core library.
/// Determined by looking at the set of assemblies referenced by f# .
///
/// Returning true may mean that the file is locked and/or placed into the
/// 'framework' reference set that is potentially shared across multiple compilations.
......@@ -2724,7 +2754,7 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
let resolved = TryResolveFileUsingPaths(searchPaths,m,nm)
match resolved with
| Some(resolved) ->
let sysdir = true (* tcConfig.IsSystemAssembly resolved *)
let sysdir = tcConfig.IsSystemAssembly resolved
let fusionName =
if isNetModule then ""
else
......@@ -2899,7 +2929,7 @@ type TcConfig private (data : TcConfigBuilder,validate:bool) =
resolvedFrom=resolvedFile.resolvedFrom;
fusionName=resolvedFile.fusionName
redist=resolvedFile.redist;
sysdir= true (*tcConfig.IsSystemAssembly canonicalItemSpec *) ;
sysdir= tcConfig.IsSystemAssembly canonicalItemSpec;
ilAssemblyRef = ref None})
(maxIndexOfReference, assemblyResolutions))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册