Skip to content

attempt to fix #4146#4158

Merged
jonsequitur merged 1 commit intodotnet:mainfrom
jonsequitur:attempt-to-fix-4146
Feb 10, 2026
Merged

attempt to fix #4146#4158
jonsequitur merged 1 commit intodotnet:mainfrom
jonsequitur:attempt-to-fix-4146

Conversation

@jonsequitur
Copy link
Contributor

No description provided.

@Jafar313
Copy link

Hi @jonsequitur,
Thank you for your contribution! Could you please share an estimated timeline for merging this PR and resolving the related issue?

@jonsequitur
Copy link
Contributor Author

I'm still unable to repro the issue so the fix is speculative. I'll need to do some additional verification that this hasn't introduced any issues and then publish a preview release to see if it resolves the issue for you.

async function activateCore(context: vscode.ExtensionContext, diagnosticsChannel: OutputChannelAdapter) {
const dotnetConfig = vscode.workspace.getConfiguration(constants.DotnetConfigurationSectionName);
const polyglotConfig = vscode.workspace.getConfiguration(constants.PolyglotConfigurationSectionName);
const minDotNetSdkVersion = '9.0';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be 10.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Yes.

@jonsequitur jonsequitur merged commit 46cdf8c into dotnet:main Feb 10, 2026
4 checks passed
@jonsequitur
Copy link
Contributor Author

@Jafar313 I've published the potential fix in the preview version of the extension. Please give it a try.

@Jafar313
Copy link

@jonsequitur
After updating the extension to the preview version, I encountered a helpful error message that directed me to check the Polyglot Notebook: diagnostics output. The relevant details were logged in the section below:

Extension started for VS Code Stable.
create-tool-manifest: Executing [dotnet new tool-manifest] in 'c:\Users\mousavi\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
create-tool-manifest: Finished with code 73.
create-tool-manifest: STDERR:
Creating this template will make changes to existing files:
  Overwrite   ./dotnet-tools.json

To create the template anyway, run the command with '--force' option:
   dotnet new tool-manifest --force

For details on the exit code, refer to https://aka.ms/templating-exit-codes#73
Error acquiring dotnet-interactive tool: Error: Unable to create local tool manifest.  Command failed with code 73.

STDOUT:


STDERR:
Creating this template will make changes to existing files:
  Overwrite   ./dotnet-tools.json

To create the template anyway, run the command with '--force' option:
   dotnet new tool-manifest --force

For details on the exit code, refer to https://aka.ms/templating-exit-codes#73
Extension activation failed: Cannot read properties of undefined (reading 'workingDirectory')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants