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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Is there a way to access the code and element from a deployable package or DLL of a model?

(0) ShareShare
ReportReport
Posted on by 179
Hi,
 
I have a quick question, I need to make some changes in the already created custom model but there is an issue that I am facing. When I navigate to model folder in PackagelocalDirectory I see only the following folders.
 
Is there a way to get the model elements from the DLL by decompiling it or by deployable package?
 
 
Thanks.
I have the same question (0)
  • Martin Dráb Profile Picture
    240,185 Most Valuable Professional on at
    You have just binary data created by compilation, not source code. You should be able to get any version of code from your version control system. And if you have a sane process to create deployable packages (using build pipelines), you can be sure that all code must have come from source control.
     
    If you don't use a version control system, stop all other work and resolve this critical process bug first.
     
    There is no decompiler from CIL to X++. There is a way to decompile it to some other languages, such as C#, but what you'd get would be very different from your original code, because of all the things that X++ compiler does under the hood.
  • BZF_SA Profile Picture
    179 on at
    Got your point Martin but I have a silly question. I talked to the person who deploys the changes to UAT and production. He said that we don't select this model when creating a deployment package. Is it even possible that the changes in this model exist in the production without even adding a model to the deployable package?
  • Martin Dráb Profile Picture
    240,185 Most Valuable Professional on at
    It's not clear to me why you think it may be deployed if you're saying that it wasn't deployed.
     
    No, it's not possible that your changes would get deployed without being in a at least one deployable package. But it's possible that the person is not aware of it. It's strange that he or she talks about selecting model, because that should be defined by a build pipeline. If people do it manually, trackability is indeed a problem, but a deployment should fail if you include a model once and then exclude it next time (unless you do an extra step).
     
    But we're off-topic here; this thread is about "Is there a way to access the code and element from a deployable package?". Feel free to create a new thread if you want to discuss your deployment procedures.
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    If the answer below is useful, you can mark this as verified to help more people with similar problems. Thanks in advance.
    Best Regards,
    Hana

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 385 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 270

#3
Martin Dráb Profile Picture

Martin Dráb 243 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans