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
Adding Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); to function
Run function app
Expected behavior
Function app is executed without error
Actual behavior
The following error occurs and the function cannot be executed.
[2021-01-15T07:00:17.378Z] A host error has occurred during startup operation 'e356b46a-f0fb-44a1-8494-df0ad91f3d36'.
[2021-01-15T07:00:17.380Z] FunctionApp34: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. 指定されたファイルが見つかりません。.
Value cannot be null. (Parameter 'provider')
Known workarounds
Adding _FunctionsSkipCleanOutput setting
Downgrade System.Text.Encoding.CodePages to v4.7.1
The text was updated successfully, but these errors were encountered:
I have ta similar issue with System.Runtime.Caching, v5.0.0 works with Microsoft.NET.Sdk.Functions up to v3.0.2, anything higher breaks. Microsoft.NET.Sdk.Functions v3.0.11 work perfectly with System.Runtime.Caching v4.7.0
Similar issue with System.IO.Abstractions. The only version of MIcrosoft.NET.Sdk.Functions that works is v3.0.3. After that, it will not load `System.IO.Abstractions'.
Repro steps
Provide the steps required to reproduce the problem:
System.Text.Encoding.CodePages
nuget packageEncoding.RegisterProvider(CodePagesEncodingProvider.Instance);
to functionExpected behavior
Function app is executed without error
Actual behavior
The following error occurs and the function cannot be executed.
Known workarounds
_FunctionsSkipCleanOutput
settingSystem.Text.Encoding.CodePages
to v4.7.1The text was updated successfully, but these errors were encountered: