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:

- Open F# Interactive
- 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.
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:
#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 detectedappears. Occasionally aProcess is terminated due to StackOverflowExceptionmessage appears first.Pressing return starts a new session.
Known workarounds
This works fine in
fsi.exeorfsiAnyCpu.exefrom the command prompt, or when using .NET Core mode in Visual Studio.