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
When setting FUNCTION_WORKER_RUNTIME to dotnet and ENABLE_ORYX_BUILD to true, the option --platform-version of the oryx build command seems to be from an App Setting FUNCTION_EXTENSION_VERSION.
For example, if setting FUNCTION_EXTENSION_VERSION to ~4,
the command option is set to --platform-version ~4 as the following screenshot.
It means when building by using .NET5/6 SDK, the App Setting FUNCTION_WORKER_RUNTIME should be set to ~5/~6.
Of course, these values are invalid for the function host, then the host is down by the setting.
Could you please check if this is expected behavior?
The codes for selecting the version are these lines.
When setting
FUNCTION_WORKER_RUNTIME
todotnet
andENABLE_ORYX_BUILD
totrue
, the option--platform-version
of the oryx build command seems to be from an App SettingFUNCTION_EXTENSION_VERSION
.For example, if setting
FUNCTION_EXTENSION_VERSION
to~4
,the command option is set to
--platform-version ~4
as the following screenshot.It means when building by using .NET5/6 SDK, the App Setting
FUNCTION_WORKER_RUNTIME
should be set to~5
/~6
.Of course, these values are invalid for the function host, then the host is down by the setting.
Could you please check if this is expected behavior?
The codes for selecting the version are these lines.
KuduLite/Kudu.Core/Deployment/Oryx/FunctionAppOryxArguments.cs
Lines 87 to 92 in 3854066
The text was updated successfully, but these errors were encountered: