interactive icon indicating copy to clipboard operation
interactive copied to clipboard

[WIP] Update Connect WPF Sample?

Open michael-hawker opened this issue 1 year ago • 0 comments

Requires #3723 and dependent probably on #3720

This is an initial start for updating the Connect WPF sample:

  • Add to the main solution and allow building it there alongside the rest of the code (use a dummy props file to prevent the arcade issue) Fixes #2582
  • Use ProjectReference to build against the project (at least for now while working on this)
  • Updates code to use the new NuGetDirective pattern (grabbed code from the extension in the browser project, not sure why that extension isn't just part of the core library)
  • Updates code to use the refactored out NamedPipeConnector project
  • Updates to use new KernalActionDirective pattern (seems likes some refactor/change happened to avoid conflicts with cmdline parsing, but this project was never updated)
  • Temp? Add packages needed to the notebook for testing

That's as far as I could get, it seems to connect to the WPF app (maybe) and then stalls out? The connect command just continues to 'run' and ignores the request to stop in the notebook from VS Code (with no output/status).

image

I'm out-of-my-depth now trying to just update the code as best as I can with the internals of how .NET Interactive works, but figured putting an update together to share what I had as a starting point for others to jump on would be useful.

Thanks!

michael-hawker avatar Oct 18 '24 19:10 michael-hawker