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 :
Microsoft Dynamics AX (Archived)

Dll generation in dynamics ax for customized c sharp projects

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    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

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans