You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NuGet package references no longer work in F# Interactive (.NET Framework only) in VS 16.10.0 #11622
Area-VS-FSIVS window and commands for F# InteractiveImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.Regression
[severity:It's more difficult to complete my work] [regression] [worked-in:16.9.5]
To reproduce:
Ensure Tools > Options > F# Tools > F# Interactive > Use .NET Core scripting is set to False.
Open F# Interactive.
Type #r "nuget: Newtonsoft.Json";;
I get the following error message:
#r "nuget: Newtonsoft.Json";;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
stdin(1,1): error FS3216: Package manager key 'nuget' was not registered in [C:\Users\mpattison\AppData\Local\assembly\dl3\4H0BMNOV. VYQ\TN065Y4K. YRA\97a5ac2c\31a0ed1b_8351d701; c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\commonextensions\microsoft\fsharp\Tools\], []. Currently registered:
This applies to fsi.exe, fsiAnyCpu.exe and the .NET Framework version of F# Interactive in the IDE.
dotnet fsi, which uses .NET Core (or 5.0) is unaffected.
A workaround is to run fsi.exe --compilertool:"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\FSharp.
I'm running Windows 10 Enterprise N, version 1909.
Original Comments
Feedback Bot on 5/26/2021, 07:51 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
changed the title [-]NuGet package references no longer work in F# Interactive in VS 16.10.0[/-][+]NuGet package references no longer work in F# Interactive (.NET Framework only) in VS 16.10.0[/+]on Jun 2, 2021
As .NET Core scripting does not support script debugging yet, this is high severity at least in my workflow that prevents me from upgrading VS to any newer version.
Any idea whether this will be available in the next couple of weeks? I'm doing an internal demo at my company and it would be a lot smoother if this fix were available.
(It was me who raised the original ticket - serves me right for upgrading VS straight away 😂)
@markpattison this is scheduled to be in the 16.11 release, but we don't know the exact date when that ships just yet. But the fix is in, so it should light up when 16.11 releases. I believe there are some additional steps we need to take to ensure it's in there, since 16.11 is a special servicing-only/LTS release.
We've merged this fix into the internal VS 16.11 branch just this morning. As @cartermp mentioned, we don't have an exact ship date yet, but it will be there.
Area-VS-FSIVS window and commands for F# InteractiveImpact-High(Internal MS Team use only) Describes an issue with extreme impact on existing code.Regression
Activity
[-]NuGet package references no longer work in F# Interactive in VS 16.10.0[/-][+]NuGet package references no longer work in F# Interactive (.NET Framework only) in VS 16.10.0[/+]cartermp commentedon Jun 2, 2021
Note: if you use .NET Core scripting, this is not an issue
zyzhu commentedon Jun 3, 2021
As .NET Core scripting does not support script debugging yet, this is high severity at least in my workflow that prevents me from upgrading VS to any newer version.
gusty commentedon Jun 8, 2021
@cartermp NET Core scripting is not an option for everyone. I strongly suggest to change severity to high. This issue has really a very high impact.
4 remaining items
KevinRansom commentedon Jun 8, 2021
I was wrong, it's not fixed.
Fix #11622 (#11653)
KevinRansom commentedon Jun 9, 2021
This hasn't flowed to a VS release branch yet.
markpattison commentedon Jun 18, 2021
Hi @KevinRansom ,
Any idea whether this will be available in the next couple of weeks? I'm doing an internal demo at my company and it would be a lot smoother if this fix were available.
(It was me who raised the original ticket - serves me right for upgrading VS straight away 😂)
Thanks!
cartermp commentedon Jun 18, 2021
@markpattison this is scheduled to be in the 16.11 release, but we don't know the exact date when that ships just yet. But the fix is in, so it should light up when 16.11 releases. I believe there are some additional steps we need to take to ensure it's in there, since 16.11 is a special servicing-only/LTS release.
brettfo commentedon Jun 25, 2021
We've merged this fix into the internal VS 16.11 branch just this morning. As @cartermp mentioned, we don't have an exact ship date yet, but it will be there.
Thanks for finding and filing the issue.
fwaris commentedon Jul 8, 2021
should have read this before upgrading vs :(