Referenced assembly 'Twilio, Version=5.68.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. Twilio

Viewed 30

I cannot seem to get passed this error when trying to use the Twilio nuget package.

Referenced assembly 'Twilio, Version=5.68.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

I have tried everything I can find, which is very little, on here.

Has anyone out there been able to get passed this issue?

1 Answers

Your assembly has a strong name and is signed with a key. As such, it can only reference assemblies that are strong-named too. The Twilio assembly is not strong-named, hence the problem.

Either disable signing your assembly in project properties or build the Twilio assembly yourself and sign it with a key. The code can be found on Github, so you can create a fork and adjust this to your needs.

Related