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

Announcements

No record found.

News and Announcements icon
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 56

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
    303,730 Super User 2026 Season 1 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
    56 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
    303,730 Super User 2026 Season 1 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
    56 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
    239,038 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
    56 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
    239,038 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
    56 on at

    Sorry Martin, which previous reply. Kindly elaborate please

  • Martin Dráb Profile Picture
    239,038 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
    56 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans