Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Newly Created Objects are not displaying in PackageLocalDirectory

(0) ShareShare
ReportReport
Posted on by 195

Hi All,

I am facing a weird issue in Visual studio & directory that is when i create a new objects through AOT like tables,classes they are not displaying in packageLocaldirectory(K:\AosService\PackagesLocalDirectory). And vice versa if i try to add new object from packageLocalDirectory it is not showing AOT.

And also like to mention that  i am able to see new objects & changes are reflecting correctly without any issue.

Can anyone please help me to resolve the issue.

Regards,

Swetha.

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Newly Created Objects are not displaying in PackageLocalDirectory

    Did you try checking, show hidden files, folders ?

    If the aim is to move the objects from one ENV to another. You should add all objects to a Project in Visual studio; export it and import the project in the other environment.

    dynamicsaxtechnicalstuff.blogspot.com/.../import-and-export-project-in-d365.html

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    RE: Newly Created Objects are not displaying in PackageLocalDirectory

    Hi Swetha,

    I'm not able to completely follow your initial question where you say that something is not visible, but also you say that new objects and changes are reflecting correctly. That seems to be contradictory.

    About moving the code from one development box to another, there are recommended ways to achieve that, but that is not by copying individual files.

    As mentioned by Bharani, you can use DevOps as source control or export and import (axpp) project files or models.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    RE: Newly Created Objects are not displaying in PackageLocalDirectory

    I will not suggest you to copy the objects in that way. Instead you should do a shelve or import them into your new vm. So that you won't get these type of issues.

  • Swetha Molagavalli Profile Picture
    Swetha Molagavalli 195 on at
    RE: Newly Created Objects are not displaying in PackageLocalDirectory

    Hi Komi Siabi,

    Yes i am able to get the model folder in packageLocalDirectory.

    We are facing issues in build project while rebuilding the project only.

    But we are not getting any issue in model build or full build.

    I have tired refreshing the models in visual studio. Still i am not able to see it.

    We are just moving the objects from one dev machine to another dev environments by copying every object to packageLocalDirectory.

    Regards,

    Swetha.

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Newly Created Objects are not displaying in PackageLocalDirectory

    Hi Swetha,

    Did you get the model folder of the project in packageLocalDirrecyory? 

    Are you getting errors when uou build your projetcs? 

    Did you refresh the models from Visual studio? 

    Please, you should never try to create xml file from the Package folder. Always do from Visual studio.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans