Fix for "Referenced assembly 'AzureFunctions.Extensions.Middleware, Version=, Culture=neutral, PublicKeyToken=null' does not have a strong name"

I have received a mail from one of our users with an issue - Referenced assembly ‘AzureFunctions.Extensions.Middleware, Version=, Culture=neutral, PublicKeyToken=null’ does not have a strong name

This issue is happening because the package is not signed with code signing certificate. Most of the Open source projects in the Nuget are currently not signed due to below reasons.

  • Cost ( All the code signing authority are charging huge amount for buying a certificate and you won’t be able to use self-signed certificate in Nuget)
  • Binding Policy
  • Virality
  • No Drop-in replacement

Ref for last 3 points :

Please try either of these steps to fix this issue

nuget.exe trusted-signers add -name -serviceindex -owners Divakar_Kumar

Note: If in future you are gonna add more owners you will receive this error “A trusted signer ‘’ already exists”. So it is always recommended to remove the trusted signer and add again with a complete list of everyone on that you trust.

nuget.exe trusted-signers add -name -serviceindex -owners microsoft;nuget;Divakar_Kumar

If you wish to contribute to this open source or provide feedback, Feel free to reach out to me on below links

Leave a ⭐ in the below github repo if this library helped you at handling cross-cutting concerns of the application.