From f829218c2c1cab860ae0c1f8f6983cc48e268c3b Mon Sep 17 00:00:00 2001 From: Vasu Bhog Date: Wed, 6 Apr 2022 12:58:37 -0700 Subject: [PATCH] less prompts about langauge and runtime version (#18949) --- extensions/sql-bindings/src/services/azureFunctionsService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/sql-bindings/src/services/azureFunctionsService.ts b/extensions/sql-bindings/src/services/azureFunctionsService.ts index 29fc7e59ff..f63afd49a3 100644 --- a/extensions/sql-bindings/src/services/azureFunctionsService.ts +++ b/extensions/sql-bindings/src/services/azureFunctionsService.ts @@ -59,7 +59,7 @@ export async function createAzureFunction(connectionString: string, schema: stri // 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({}); + await azureFunctionApi.createFunction({ language: 'C#', targetFramework: 'netcoreapp3.1' }); const timeoutForHostFile = utils.timeoutPromise(constants.timeoutProjectError); hostFile = await Promise.race([newHostProjectFile.filePromise, timeoutForHostFile]); if (hostFile) {