diff --git a/extensions/sql-bindings/src/services/azureFunctionsService.ts b/extensions/sql-bindings/src/services/azureFunctionsService.ts index 1bf8cab09a..9a187b6b8e 100644 --- a/extensions/sql-bindings/src/services/azureFunctionsService.ts +++ b/extensions/sql-bindings/src/services/azureFunctionsService.ts @@ -154,7 +154,9 @@ export async function createAzureFunction(node?: ITreeNodeInfo): Promise { // because of an AF extension API issue, we have to get the newly created file by adding a watcher // issue: https://github.com/microsoft/vscode-azurefunctions/issues/3052 newHostProjectFile = await azureFunctionsUtils.waitForNewHostFile(); - await azureFunctionApi.createFunction({ language: 'C#', targetFramework: 'netcoreapp3.1' }); + await azureFunctionApi.createFunction({ + language: 'C#', targetFramework: 'netcoreapp3.1', suppressCreateProjectPrompt: true, + }); const timeoutForHostFile = utils.timeoutPromise(constants.timeoutProjectError); hostFile = await Promise.race([newHostProjectFile.filePromise, timeoutForHostFile]); if (hostFile) {