Skip to content

Make FS0078 a warning instead of an error. #4362

@matthid

Description

@matthid

If you have #r "<something>" and <something> is invalid then the result is platform dependent and not consistent:

You either:

  • get a compilation error Error FS0078: Unable to find the file '<something>' in any of <list of locations>
  • or a warning warning FS0213: '<something>' is not a valid assembly name

depending on whether <something> is a valid file name, which itself is platform dependent.
Usually I'd suggest making this an error always.
However, considering FST-1027 or future extensions and fsprojects/FAKE#1780. I think it is reasonable to suggest to change FS0078 into a warning message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions