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
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156