Open azfuncgh opened 1 year ago
@azfuncgh - I'm running into this https://github.com/dotnet/aspnetcore/issues/49455 when using the major version ~4 It works when using specific minor version 4.22.0 (and also 4.23.0) The issue is caused by the difference in versions of the assembly System.IdentityModel.Tokens.Jwt
Per the documentation, New minor versions shouldn't introduce breaking changes
If there is a way to use 6.24.0.0 version of System.IdentityModel.Tokens.Jwt with major version ~4, please list the exact steps to accomplish it
FWIW, the switches <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
and <FunctionsPreservedDependencies Include="System.IdentityModel.Tokens.Jwt.dll" />
don't work when publishing from visual studio
Facing the same issue as above. We have published the function app using <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
flag.
The bin folder of the function does include the lower version of System.IdentityModel.Tokens.Jwt.dll (6.24.0.0), still the runtime used the higher version of the dll (from SiteExtensions\Functions\4.24.3\64bit\ folder).
How can we make runtime to choose the version from bin folder?
Discussion issue for removal of Azure Functions version 4.22.0