Unable to load PhoneNumbers.dll in signed assembly
See original GitHub issueWhen depending on PhoneNumbers.dll through NuGet in a project producing a strong name signed assembly this exception is thrown each time PhoneNumbers.dll would be used:
System.IO.FileLoadException: Could not load file or assembly 'PhoneNumbers, Version=8.8.10.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044) File name: 'PhoneNumbers, Version=8.8.10.0, Culture=neutral, PublicKeyToken=null'
This can be fixed by strong name signing PhoneNumbers.dll see PR #51
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Unable to load dll after it was signed
1 Answer 1 ... Most likely thing is your applications previously were using another version of the dll that had been "slyly" copied...
Read more >Could not load file or assembly 'sapnco_utils.dll' or one of ...
If you see the below error when uploading data from the beacon, it suggests Microsoft Visual C++ redistributable is missing from the device....
Read more >#22459 Can not use postsharp with signed DLL's
I am getting the error below if i try to use postsharp with a project that is signed, I have delay signing enabled....
Read more >Error: Could not load file or assembly 'AWSSDK' or one of ...
Open the /bin/Providers subfolder of the site folder. Right-click the AWSSDK.DLL file and select Properties. Within the pop-up dialog, switch ...
Read more >Does Twilio provide a strong-named assembly of the C# ...
You can "un-sign" the code library project that uses the Twilio assembly. This should resolve any errors, but you will not have a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Please note that the author of the second link had second thoughts later in 2018:
https://www.pedrolamas.com/2018/09/11/start-strong-naming-your-assemblies/
This has been brought up a few times. https://github.com/twcclegg/libphonenumber-csharp/issues/18, https://github.com/twcclegg/libphonenumber-csharp/issues/48 and that which it references https://github.com/octokit/octokit.net/issues/405 Given that it has come up a few times now I’m going to take another look at it and make sure it don’t cause issue for any existing users.