question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FSI object not found when running from .NET Interactive notebook

See original GitHub issue

It all works, but I get this message in the output:

--- FsHttp: running in FSI - Try registering printer...
--- FsHttp: FSI object not found.

When I run the same code from FSI it outputs:

--- FsHttp: running in FSI - Try registering printer...
--- FsHttp: Printer successfully registered.

Is this something that can be improved or is it normal behavior ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
RonaldSchlenkercommented, Oct 24, 2021

The message

— FsHttp: FSI object not found.

is now

— FsHttp: FSI object not found (this is expected when running in a notebook).

Closing this.

0reactions
RonaldSchlenkercommented, Sep 14, 2021

I can confirm that - in the latest version of .Net Interactive Notebooks, there seems to be no need for referencing Microsoft.DotNet.Interactive.AspNetCore. The message appears - that’s correct.

Read more comments on GitHub >

github_iconTop Results From Across the Web

F# notebooks, the `fsi` object settings and the F# scripting ...
This provides the following, however currently the fsi object is not available in the notebook programming model. fsi.
Read more >
interactive/docs/FAQ.md at main · dotnet/interactive
It allows you read and write notebook files, run the code in the notebook, and visualize the results. .NET Interactive is a kernel....
Read more >
F# Interactive (dotnet) Reference
Learn how F# Interactive (dotnet fsi) is used to run F# code interactively at the console or to execute F# scripts.
Read more >
I tried F# seriously for a few days and the tooling was so ...
You can run `dotnet fsi` to enter F# Interactive (FSI), the F# REPL. ... NET SDK, VS Code, and the Polyglot Notebooks extension....
Read more >
Is there a way to reduce startup time for 'dotnet fsi'? : r/fsharp
I know you can run a background process of F# and pass commands to it from the editor, ... NET Interactive Notebooks in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found