3 ms·
Interestingly I tried this on my Dell ubuntu laptop and it doesn't work. May have to try and figure out why at some point.
by runevault 2y ago
Interestingly I tried this on my Dell ubuntu laptop and it doesn't work. May have to try and figure out why at some point.
- neonsunset 2y agoTry pre-release version, also needs newer Roslyn version so the SDK needs to be updated too. OS here doesn’t matter.
- runevault 2y agoPretty sure I'm on latest 8 SDK, but did not try pre release of the the addin so that could be it.
- neonsunset 2y agoIt uses a new Roslyn API to dump SyntaxTree and IOperation's starting at a specific span of source code IIRC, and it shipped in one of the minor version after .NET 8.0.0 release, it took me a bit to get it working upon its release but by this time you should have the necessary SDK, though the relevant extension version may still be marked as pre-release hence my suggestion.
- runevault 2y agoI messed with it a little more before going to bed. The prerelease version changed the error and at least felt like it was closer. But I also found there was a new SDK release in the last few days that I have not upgraded yet.