Skip to content

Crash when specifying package source in Visual Studio F# Interactive in .NET Framework mode #12033

@markpattison

Description

@markpattison

When using F# Interactive within Visual Studio, in .NET Framework mode, specifying an alternative NuGet package source crashes the session.

Repro steps

Using Visual Studio 16.11.1 on Windows 10 with the following F# Interactive options:

image

  1. Open F# Interactive
  2. Enter #i "nuget: https://sitecore.myget.org/F/sc-packages/api/v3/index.json";;

Note - this is just an arbitrary public NuGet feed for the purposes of this bug report.

Expected behavior

Can now reference packages from that source.

Actual behavior

After a few seconds, the message Session termination detected appears. Occasionally a Process is terminated due to StackOverflowException message appears first.

Pressing return starts a new session.

Known workarounds

This works fine in fsi.exe or fsiAnyCpu.exe from the command prompt, or when using .NET Core mode in Visual Studio.

Metadata

Metadata

Assignees

Labels

Area-FSIBugImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.Regression

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions