Skip to content

--simpleresolution does something strange on coreclr version of F# compiler. #8509

Description

@KevinRansom

--simpleresolution does something strange on coreclr version of F# compiler.

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>dotnet "C:\Program Files\dotnet\sdk\3.0.102\FSharp\fsc.exe" c:\temp\foo\foo.fs --simpleresolution
Microsoft (R) F# Compiler version 10.6.0.0 for F# 4.7
Copyright (c) Microsoft Corporation. All Rights Reserved.

error FS0078: Unable to find the file 'mscorlib.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Xml.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Runtime.Remoting.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Runtime.Serialization.Formatters.Soap.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Data.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Drawing.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Core.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'netstandard.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Runtime.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Linq.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Reflection.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Linq.Expressions.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Threading.Tasks.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.IO.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Net.Requests.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Collections.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Runtime.Numerics.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Threading.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Web.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Web.Services.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Windows.Forms.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

error FS0078: Unable to find the file 'System.Numerics.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

unknown(1,1): error FS0078: Unable to find the file 'mscorlib.dll' in any of
 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework
 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
 C:\Program Files\dotnet\sdk\3.0.102\FSharp\

C:\

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Diagnosticsmistakes and possible improvements to diagnosticsBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.good first issuehelp wanted

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions