From 64b9482f8d45da3849397f5ee37f07b08e96188e Mon Sep 17 00:00:00 2001 From: geertjanthomas Date: Fri, 30 Jan 2026 16:35:59 +0100 Subject: [PATCH 1/2] Add --force argument to dotnet new tool-manifest command --- src/polyglot-notebooks-vscode-common/src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polyglot-notebooks-vscode-common/src/commands.ts b/src/polyglot-notebooks-vscode-common/src/commands.ts index db5c85d83b..4a1ceca517 100644 --- a/src/polyglot-notebooks-vscode-common/src/commands.ts +++ b/src/polyglot-notebooks-vscode-common/src/commands.ts @@ -61,7 +61,7 @@ export async function registerAcquisitionCommands(context: vscode.ExtensionConte })); async function createToolManifest(dotnetPath: string, globalStoragePath: string): Promise { - const result = await executeSafeAndLog(diagnosticChannel, 'create-tool-manifest', dotnetPath, ['new', 'tool-manifest'], globalStoragePath); + const result = await executeSafeAndLog(diagnosticChannel, 'create-tool-manifest', dotnetPath, ['new', 'tool-manifest', '--force'], globalStoragePath); if (result.code !== 0) { throw new Error(`Unable to create local tool manifest. Command failed with code ${result.code}.\n\nSTDOUT:\n${result.output}\n\nSTDERR:\n${result.error}`); } From 9ca5ad767723b48eca8626d8ac27bec1e260a641 Mon Sep 17 00:00:00 2001 From: geertjanthomas Date: Fri, 30 Jan 2026 16:38:10 +0100 Subject: [PATCH 2/2] Set minimum dotnet version to 10.0 while activating --- src/polyglot-notebooks-vscode-common/src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polyglot-notebooks-vscode-common/src/extension.ts b/src/polyglot-notebooks-vscode-common/src/extension.ts index 6e54a61d23..54bebe403b 100644 --- a/src/polyglot-notebooks-vscode-common/src/extension.ts +++ b/src/polyglot-notebooks-vscode-common/src/extension.ts @@ -72,7 +72,7 @@ let surveryBanner: SurveyBanner; export async function activate(context: vscode.ExtensionContext) { const dotnetConfig = vscode.workspace.getConfiguration(constants.DotnetConfigurationSectionName); const polyglotConfig = vscode.workspace.getConfiguration(constants.PolyglotConfigurationSectionName); - const minDotNetSdkVersion = '9.0'; + const minDotNetSdkVersion = '10.0'; const diagnosticsChannel = new OutputChannelAdapter(vscode.window.createOutputChannel('Polyglot Notebook : diagnostics')); const loggerChannel = new OutputChannelAdapter(vscode.window.createOutputChannel('Polyglot Notebook : logger')); DotNetPathManager.setOutputChannelAdapter(diagnosticsChannel);