Skip to content

Wrong FSharp.Core resolution for F# 4.0 #383

Closed
@dungpa

Description

@dungpa

Tested with https://www.nuget.org/packages/FSharp.Compiler.Service/1.4.0-beta

FCS still uses FSharp.Core 4.3.0.0 as default. Consequently, any new functionality on FSharp.Core 4.4.0.0 doesn't work on scripts. This breaks all VFPT functionalities on scripts.

Here is a relevant log:

GetScriptCheckerOptions: Creating for stand-alone file or script: 'C:\Users\dungpa\Documents\GitHub\Script1.fsx'
GetScriptCheckerOptions: ProjectFileName: C:\Users\dungpa\Documents\GitHub\Script1.fsx.fsproj, ProjectFileNames: [|"C:\Users\dungpa\Documents\GitHub\Script1.fsx"|], FSharpProjectOptions: [|"--noframework"; "--warn:3";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Numerics.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\mscorlib.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp.NETFramework\v4.0\4.3.0.0\FSharp.Core.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Xml.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Runtime.Remoting.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Runtime.Serialization.Formatters.Soap.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Data.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Drawing.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Core.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Web.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Web.Services.dll";
"-r:C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\System.Windows.Forms.dll";
"-r:C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\FSharp.Compiler.Interactive.Settings.dll"|], IsIncompleteTypeCheckEnvironment: false, UseScriptResolutionRules: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions