Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Dll generation in dynamics ax for customized c sharp projects

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have added new cs class to c sharp project, Microsoft.Dynamics.AX.TMS rating engine. I have checked in the object to TFS. Every time i synchronize in a new machine, i Compile, generate full CIL and restart AOS. however the dll is not updated. The dll remains the same. In VS assemblies the dll is regenerated but in rating engine is not working and gives error the class is not available. Currently i'm opening the project in visual studio, building the project, generating incremental CIL and restarting AOS. This solves the problem. However this is a temporary solution as this cannot be done in production.

Have you come across similar problem  and could you help me with this?

*This post is locked for comments

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: Dll generation in dynamics ax for customized c sharp projects

    You shouldn't ever push code to production by TFS synchronization. It's intended for development only, not for deployment.

    I suggest you set up a build process base on Team Foundation Build and deploy code as models / modelstore to all non-development environments.

    If you use TFS build activities from Dynamics AX Admin Utilities, ImportVSProject will help you to import VS projects correctly.

    If you don't want such a build, prepare modelstore for installation to production by your current process.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans