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 :
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

  • Suggested answer
    Martin Dráb Profile Picture
    241,635 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

#1
nmaenpaa Profile Picture

nmaenpaa 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans