dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.86k stars 381 forks source link

Alternate between 32 bits or 64 bits kernel #826

Open Jose10go opened 3 years ago

Jose10go commented 3 years ago

Problem: I cant change if the kernel is running as 32 or 64 bits process. This could be useful in some cases, for example for dealing with COM libraries on windows.

Solution For example the interactive C# interactive experience in visual studio uses the directive #reset 32 or #reset 64. In this case I think would be better a command that restarts the notebooks kernel, instead a magic command or a directive.

lrizvi commented 3 months ago

Greetings,

Has #reset 32 or similar functionality to switch to a 32-bit C# runtime been added to dotnet interactive since this issue? My use case requires loading a 32-bit DLL with a #r directive. The directive works, but my code cannot use the DLL at runtime.

Thanks you!