My application requirement is to use Signed assembly. I signed RestSharp assembly using Visual Studio 2012 command tool. The application builds successfully, but when it runs, the following error appears:
Could not load file or assembly 'RestSharp, Version=104.4.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Is there any solution to this?
The blog http://buffered.io/posts/net-fu-signing-an-unsigned-assembly-without-delay-signing/ has helped me to solve the problem. Actually I am using twilio.api.dll in my project and twilio.api.dll is referencing RestSharp.dll. Now after making RestSharp as "Strong Name", it was required to enter Public Key token in Twilio assembly so that it can access RestSharp.
The problem has been fixed now.