You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
["mscorlib"; GetFSharpCoreReferenceUsedByCompiler(useMonoResolution)]@// Need to resolve these explicitly so they will be found in the reference assemblies directory which is where the .xml files are.
["mscorlib"; GetFSharpCoreReferenceUsedByCompiler(useSimpleResolution)]@// Need to resolve these explicitly so they will be found in the reference assemblies directory which is where the .xml files are.
// NOTE!! if mode=ReportErrors then this method must not raise exceptions. It must just report the errors and recover
2943
2943
static memberTryResolveLibsUsingMSBuildRules(tcConfig:TcConfig,originalReferences:AssemblyReference list,errorAndWarningRange:range,mode:ResolveAssemblyReferenceMode):AssemblyResolution list * UnresolvedAssemblyReference list =
2944
2944
use unwindBuildPhase = PushThreadBuildPhaseUntilUnwind (BuildPhase.Parameter)
yield CompilerOption("highentropyva", tagNone, OptionSwitch (useHighEntropyVASwitch tcConfigB), None, Some (FSComp.SR.optsUseHighEntropyVA()))
786
786
yield CompilerOption("subsystemversion", tagString, OptionString (subSystemVersionSwitch tcConfigB), None, Some (FSComp.SR.optsSubSystemVersion()))
@@ -859,7 +859,7 @@ let internalFlags (tcConfigB:TcConfigBuilder) =
859
859
CompilerOption("resolutionframeworkregistrybase", tagString, OptionString (fun s -> tcConfigB.resolutionFrameworkRegistryBase<-s), Some(InternalCommandLineOption("", rangeCmdArgs)), None);// "The base registry key to use for assembly resolution. This part in brackets here: HKEY_LOCAL_MACHINE\[SOFTWARE\Microsoft\.NETFramework]\v2.0.50727\AssemblyFoldersEx");
860
860
CompilerOption("resolutionassemblyfoldersuffix", tagString, OptionString (fun s -> tcConfigB.resolutionAssemblyFoldersSuffix<-s), Some(InternalCommandLineOption("resolutionassemblyfoldersuffix", rangeCmdArgs)), None);// "The base registry key to use for assembly resolution. This part in brackets here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727\[AssemblyFoldersEx]");
861
861
CompilerOption("resolutionassemblyfoldersconditions", tagString, OptionString (fun s -> tcConfigB.resolutionAssemblyFoldersConditions <-","^s), Some(InternalCommandLineOption("resolutionassemblyfoldersconditions", rangeCmdArgs)), None);// "Additional reference resolution conditions. For example \"OSVersion=5.1.2600.0,PlatformID=id");
862
-
CompilerOption("msbuildresolution", tagNone, OptionUnit (fun()-> tcConfigB.useMonoResolution<-false), Some(InternalCommandLineOption("msbuildresolution", rangeCmdArgs)), None);// "Resolve assembly references using MSBuild resolution rules rather than directory based (Default=true except when running fsc.exe under mono)");
862
+
CompilerOption("msbuildresolution", tagNone, OptionUnit (fun()-> tcConfigB.useSimpleResolution<-false), Some(InternalCommandLineOption("msbuildresolution", rangeCmdArgs)), None);// "Resolve assembly references using MSBuild resolution rules rather than directory based (Default=true except when running fsc.exe under mono)");
0 commit comments