Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

How to use google lib-phonenumbers in dynamics c# plugin

$
0
0

For validating and formatting phone numbers with a plugin, I'd like to use google's libphonenumber-csharp package. When I download this in the NuGet Package Manager, I first get the error that the package is not strongly signed (which is the case). Once I use for example BrutalDev strong signer, to ensure the package is strongly signed, or use the strongsigned variant 'libphonenumber-csharp-portable', and the following code

using PhoneNumbers;PhoneNumberUtil phoneUtil = PhoneNumberUtil.GetInstance();

I get the following error:

Could not load file or assembly 'libphonenumber-csharp-portable, Version=4.10.0.62, Culture=neutral, PublicKeyToken=ff8820ca68ac9de8' or one of its dependencies. The system cannot find the file specified.

Apparently, the company that made the plugin (code) that I want to reuse, merged DLL's to include this third-party library.

Is this the way to go to use this package in Dynamics Plugins, or does anyone else have other recommandations on how to make this work? And, can onyone share how to properly merge DLL's, its benefits and risks?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>