smsapi / smsapi-csharp-client

SMSAPI C# client that allows you to send messages and administrate your SMSAPI account.
https://www.smsapi.com/
29 stars 20 forks source link

Signed nuget packages(strongly named assemblies) #29

Open tkaczz opened 2 years ago

tkaczz commented 2 years ago

I wanted to use this library with our signed assembly, but every api access leads to error: System.IO.FileLoadException: 'Nie można załadować pliku lub zestawu 'smsapi, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' lub jednej z jego zależności. Wymagany jest zestaw o silnej nazwie. (Wyjątek od HRESULT: 0x80131044)'

It worked after cloning this repository, signing library with our key and adding this dll as reference to main project. If it's possible, it'd be much better to not do this manualy to use this library, but by just using signed nuget packages.

jakublabno commented 1 year ago

I've checked nuget package installation and it worked well, can you try again? https://www.nuget.org/packages/SMSAPI.pl

tkaczz commented 1 year ago

I'll try and post results

tkaczz commented 1 year ago

Maybe you're using latest version of smsapi dll. Our library is being created using .Net Framework 4.8 so I had to use version 1.0.9, and unfortunately with same errors as before.