Comments (4)
This works with the contents of master branch.
using System.Text.Json;
var jsonException = new JsonException();
var location = jsonException.GetType().Assembly.Location;
Console.WriteLine("{0}", location);
I think I will update the test slightly though.
from interactive.
I tried this today and seem to have a similar (or same?) issue. In this case, I am running the C# kernel in Jupyter in Windows 10 WSL.
Also, I am using Anaconda, basically following these general steps:
https://www.hanselman.com/blog/AnnouncingNETJupyterNotebooks.aspx
from interactive.
@osmanzeki Can you run #!about
in the notebook and post the version here? Thanks.
from interactive.
@osmanzeki Can you run
#!about
in the notebook and post the version here? Thanks.
@jonsequitur Ok, I tried running that command and noticed that nothing was happening at all. Its then that I realized that I had installed the kernels using the command listed in Scott's article:
dotnet try jupyter install
Which is the one causing issues actually! I just now noticed that one should install using interactive
in order for things to work properly (as instructed here):
dotnet interactive jupyter install
I failed to realize that there were basically two different sets of kernels out there.
I can confirm that everything works fine now on my end with the interactive
kernels (System.Text.Json
loads properly) and that I do get the output of #!about
in that kernel.
As a new user to these, I don't exactly know what the difference is between dotnet-try
and dotnet-interactive
, that confusion was the main source of the problem in my case.
Hope this is helpful to someone else playing with these out there. Thanks for the help @jonsequitur !
from interactive.
Related Issues (20)
- Polyglot alway pop up error messages: `The .NET SDK version is not sufficient. The required version is 8.0.`
- ImageGenerator in Microsoft.DotNet.Interactive.AI encounters Semantic Kernel failures. HOT 2
- Disabling editor.semanticHighlighting disabled ALL syntax highlighting for C# in polyglot
- Extension setting Default Notebook Language doesn't work HOT 1
- Jaws is not announcing table cells when user is using universal table keys Ctrl + Alt + Right/left arrow keys and also with T key JAWS focus is not landing on table: A11y_Testing, Interactive and ARM tools_Table_Screen Reader. HOT 2
- No single pointer provided to drag the "columns headers" to the required position in the "Polyglot Notebook" grid table: A11y_Testing, Interactive and ARM tools_Table_Screen Reader. HOT 1
- [Codespaces/JavaScript] localhost is not accessible from a polyglot notebook within GitHub Codespaces environment HOT 2
- Language metadata is not updated in .NET notebook HOT 5
- issue with attached debugging of a C# dll from F# polyglot HOT 5
- new magic command parser fails if quoted parameter value doesn't contain valid JSON
- Executing notebook cells reports the following error: DNI120: Unable to parse package reference: "C:/Users/.../.nuget/packages/...Microsoft.DotNet.Interactive.Jupyter.dll" HOT 4
- Is there a way to tell .NET Interactive to use the system's powershell (which has extra modules installed)? HOT 3
- Stack overflow when creating instance of class with recursive IEnumerable
- Unable to install package from private (Azure Artifacts) feed with #r HOT 6
- [VS Code Insiders] Cannot connect to SQL kernel HOT 1
- August rough plan of work (2024)
- [VS Code Insiders] Cannot do variable sharing to or from the python kernel
- HTTP kernel named request support @jonsequitur @bleaphar
- I would like to add a feature to convert ordinary markdown text into ipynb format
- Support text/vnd.mermaid MIME Type in Formatters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interactive.