After making an update to an existing C# project I added some code that uses the base Microsoft.Dynamics.Ax.Tms dll. I added the reference in Visual Studio under the references node and compiled with no errors. Now what I can't figure out is how to get AX to compile my changes. I have tried the following:
- Add project to AOT
- Deploy project
- Shut down AOS
- Turn on AOS
- Start client
- Compile project in AOT
- Get several errors
Since that didn't work I tried this sequence next:
- Turn on hot swapping
- Deploy project
- Compile in AOT
- Still errors
Next going off a few forums I tried:
- Deploy project
- Shut down AOS
- Delete AUC files
- Turn on AOS
- Compile
- Still errors
I can't think what else I need to do. Clearly it compiles fine in VS but AX cannot see the reference. I have tried deploying to the client bin as well with no luck. I don't see why I would need to GAC anything since the dll was already in place and I just updated it. AX sees that I changed the project, but doesn't seem to make the connection that the tms dll is right there and available.
Can someone who is apt with .NET C# help me out here? I am sure it is something dumb I am missing but I've already spend over an hour trying to get it to compile in AX.
Thanks in advance.


*This post is locked for comments
I have the same question (0)