
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)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.