Skip to content

#r "nuget: ..." doesn't give diagnostic for invalid package reference #9540

@dsyme

Description

@dsyme

Please provide a succinct description of the issue.

Repro steps

  1. dotnet artifacts\bin\fsi\Debug\netcoreapp3.1\fsi.exe --langversion:preview

  2. #r "nuget: Random Failure= %%490-b42m31";;

  3. 1+1;; to force resolution

Expect: error message of some kind

Actual: the pseudo-project is loaded and no error is reported:

[Loading C:\Users\dsyme\AppData\Local\Temp\nuget\18032--86f60457-541c-4456-82b3-74205fef7697\Project.fsproj.fsx]
namespace FSI_0002.Project

val it : int = 1

Known workarounds

Don't make mistakes in package references

Related information

Windows master

Metadata

Metadata

Assignees

Labels

Area-FSIArea-VS-FSIVS window and commands for F# InteractiveBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions