interactive
interactive copied to clipboard
ExtensionLab: #!record throws an exception when trying to serialize a "DirectiveCommand"
Describe the bug
#!record throws an exception when trying to serialize a "DirectiveCommand"
Exemple:
//Cell1
#!csharp
#r "nuget:Microsoft.DotNet.Interactive.ExtensionLab,*-*"
//Cell2
#!csharp
#!record -o E:\record.json
#!time
Which version of .NET Interactive are you using? .NET Interactive © 2020 Microsoft Corporation Version: 1.0.240403+56a0e392fba305af06e72ce7dec885b2b6722c00 Build date: 2021-08-08T14:03:51.0406159Z https://github.com/dotnet/interactive
- OS
- [x] Windows 10
- [ ] macOS
- [ ] Linux (Please specify distro)
- [ ] iOS
- [ ] Android
- Browser
- [ ] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari
- Frontend
- [ ] Jupyter Notebook
- [ ] Jupyter Lab
- [ ] nteract
- [x] Visual Studio Code
- [ ] Visual Studio Code Insiders
- [ ] Other (please specify)
Screenshots
