Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/polyglot-notebooks-vscode-common/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function registerAcquisitionCommands(context: vscode.ExtensionConte
}));

async function createToolManifest(dotnetPath: string, globalStoragePath: string): Promise<void> {
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}`);
}
Expand Down
2 changes: 1 addition & 1 deletion src/polyglot-notebooks-vscode-common/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down