ensure appropriate version of dotnet-interactive
is present
#396
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
extension.ts
will now ensure that an appropriate version ofdotnet
is installed, or else it will acquire one for the user. If one couldn't be acquired, it is a fatal error and nothing can be done.A similar check is also done for
dotnet-interactive
, but it currently only continues if a valid version is present and errors otherwise. An upcoming PR will be to acquire a local tool version of it if necessary. If the appropriate version is not present, an error is shown in the bottom corner or the window:The minimum good version of
dotnet-interactive
is the one with the recent hover text updates from a few days ago. That version has not yet been published to NuGet.org, so when we do publish again, it should be at least that version. A workaround is that all locally-built arcade versions of the tool are allowed (*-dev
).Also included are some other minor improvements like not returning from
execute()
until eitherCommandHandled
orCommandFailed
has returned. This makes the notebook UI in VS Code much nicer.N.b., the changes to
interactiveClient.ts
are mostly whitespace, so disabling that in the GitHub view is recommended for that file.