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, ...
Answered

Source code in Deployment package in D365FO

(0) ShareShare
ReportReport
Posted on by 30

Hi Team.

I have done few customizations in TEST Model. and created a deployment package. Now I verified AOS Services folder

testModel.jpg

I saw in Bin folder few files are there related to TestModel*. Is it our customizations I mean source code?

As I know deployment package does not contained any source code.

Please give me more shed on this.

thanks!

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi @rp@n,

    A deployable package only contains the compiled binaries (runtime objects). There is not source code in a deployable package as it has no use to move source code to a UAT or production environment. The binaries are stored in the AOSService > Packages folder.

    You can use DevOps source control where someone can get latest from checked- in objects, export and import a project file or export and import models.

    Export and import models - Finance & Operations | Dynamics 365 | Microsoft Learn

  • @rp@n Profile Picture
    30 on at

    Thanks Andre,

    Kindly let me know in AOS service - bin folder, the test model* few files are there. What it does?

    Kindly provide me the answer based on my original post

    Please give me more shed on this

    Thsnks!

  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi @rp@n,

    Like mentioned above, these are runtime files/compiled binaries. These files are used for installing the solution and do ensure your customization is running on an environment where your package will be installed.

    If you start with a new fresh model, also on your DEV environment there is the bin folder in your solution directory. Initially, it is quite empty until you build your source code. Then the runtime files will be created and placed in this folder. The Dynamics 365 solution takes these files to run your customizations.

  • @rp@n Profile Picture
    30 on at

    Thanks Andre,

    So, can I say like ,in the bin folder the respective files like testModel* is contained source code in binary format.

    Is it correct?

    If no, then where source code get stored? I mean in which path...

    Please give me more shed on this

    Thanks!

  • Verified answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    No, it's not source code. The compilation process reads source code and create binaries (such as DLL files) from it. While source code is something that people can read and write, binaries are what computers can execute. As always, you can easily find more information about this process on internet.

    Source code is not deployed to other environments; it's used in development environments only. The default location is AOSService\PackagesLocalDirectory folder (typically on C or K drive).

  • @rp@n Profile Picture
    30 on at

    Thanks Martin,

    Now It's cleared almost. Only one question

    As you said "The compilation process reads source code..."

    Please let me know from where it read the source code ?

    Please give me more shed on this.

    thanks!

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Source code is stored in files (in the folder mentioned in my previous reply), therefore what the compiler reads obviously must be these files.

  • @rp@n Profile Picture
    30 on at

    Sorry Martin, which previous reply. Kindly elaborate please

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    Hmm, is it really that difficult? There're two replies from me and in the second one, I referred to "my previous reply". So which one could it be?

    Also, it was a reply to your question "where source code get stored?".

  • @rp@n Profile Picture
    30 on at

    I searched and found

    C:\AosService\WebRoot

    Then search web.config file

    then search Aos.PackageDirectory

    am i right?

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 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans