Open shibayan opened 3 years ago
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'.
I got past it! THIS fixed it for me. Add this to a <PropertyGroup>
in your .csproj.
<_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
Cross-reference: https://github.com/TestableIO/System.IO.Abstractions/issues/761
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.1