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
When submitting code from a C# cell, dot net interactive cannot find the submitted code. On the other hand, the submitted code is available in the IntelliSense.
Example
#!csharp
using Microsoft.DotNet.Interactive;
using Microsoft.DotNet.Interactive.CSharp;
CSharpKernel kernel = (CSharpKernel)KernelInvocationContext.Current.HandlingKernel.FindKernel("csharp");
await kernel.SubmitCodeAsync("public class TestClass { public int A { get; set; } }");
#!csharp
//IntelliSense can see "TestClass", but dot net interactive can't
TestClass a = new TestClass();
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
Describe the bug
When submitting code from a C# cell, dot net interactive cannot find the submitted code. On the other hand, the submitted code is available in the IntelliSense.
Example
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
#!about
magic command.dotnet interactive --version
.1.0.222801+f2ff13b19c29823ac625c235db4ee2343954cc87
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: