You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pre-deploy check for mismatching FUNCTIONS_WORKER_RUNTIME values between the remote and local config is case sensitive, blocking deploy even if the worker runtimes only differ by case.
Eg. The remote runtime "DOTNET-ISOLATED" for function app "FoobarApp" does not match your local runtime "dotnet-isolated"..
Our remote runtime was set to DOTNET-ISOLATED which blocked us from deploying from VS Code. Seeing as either value is valid, I believe the comparison (see below) should be case-insensitive.
Failing that, I suggest promptToUpdateDotnetRuntime be made case-aware. This would allow users to deploy and update the remote runtime to the lower-case dotnet-runtime.
Sidenote: FUNCTIONS_WORKER_RUNTIME in local.settings.json seems to be ignored even when the file exists; tryGetFunctionsWorkerRuntimeForProject derives the value completely independently. Is this intentional?
The text was updated successfully, but these errors were encountered:
The pre-deploy check for mismatching
FUNCTIONS_WORKER_RUNTIME
values between the remote and local config is case sensitive, blocking deploy even if the worker runtimes only differ by case.Eg.
The remote runtime "DOTNET-ISOLATED" for function app "FoobarApp" does not match your local runtime "dotnet-isolated".
.Our remote runtime was set to
DOTNET-ISOLATED
which blocked us from deploying from VS Code. Seeing as either value is valid, I believe the comparison (see below) should be case-insensitive.vscode-azurefunctions/src/commands/deploy/verifyAppSettings.ts
Line 110 in 4be4981
Failing that, I suggest
promptToUpdateDotnetRuntime
be made case-aware. This would allow users to deploy and update the remote runtime to the lower-casedotnet-runtime
.vscode-azurefunctions/src/vsCodeConfig/settings.ts
Lines 121 to 124 in 4be4981
Sidenote:
FUNCTIONS_WORKER_RUNTIME
inlocal.settings.json
seems to be ignored even when the file exists;tryGetFunctionsWorkerRuntimeForProject
derives the value completely independently. Is this intentional?The text was updated successfully, but these errors were encountered: