When I have created the Azure Function and run in local machine, it gives me an error “Could not load file or assembly ‘System.IdentityModel.Tokens.Jwt’. I have used the nuget package System.IdentityModel.Tokens.Jwt and tried to re-install / update with the latest one but it won’t work.
There after I have checked and found that There is a known issue in Azure Functions host: https://github.com/Azure/azure-functions-host/issues/5894
The solution or workaround is to add the following to your .csproj:
<PropertyGroup> <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput> </PropertyGroup>
Happy Coding!!
Leave a Reply