web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DLL conflict between ISV solutions and custom code

(1) ShareShare
ReportReport
Posted on by 15
Hi community,
 
I'm using google's phone validation DLL (google/libphonenumber) to validate phone numbers in X++ via C#, 
Everything works fine in dev, library can be contacted, phone numbers can be validated, no problems.
 
When I deploy our package to Test, our all in one package also contains multiple ISV solutions, and one of them also uses the same DLL.
There are therefore 2 DLLs with the same name deployed to Test, one in the ISV solution folder, one in our extension folder.
When I test our code in Test Tier 2, I get the following error: 
 
 
It looks like both DLLs are in conflict after that.
This DLL is not used by MS in PackagesLocalDirectory\bin
 
Are 2 versions of the same DLL allowed in multiple packages?
 
What are our alternatives? Should we embed this DLL into our C# wrapper? Is that possible/supported for X++?
 
If I try to link to the ISV dll, our code no longer compiles
 
Much appreciated,
 
Vsilo
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at
    Hi Vsilo,
     
    There can be only one version of the DLL active in runtime. In case there is a difference between them, you can contact the ISV and ask about their plans to use another version. If this will not be a short term solution, you can check if a C# project where you can manage your version of the DLL and then reference your customization to this C# DLL.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans