Hmmm.

I have just tried it, and it works fine for me.

Compile your AX exe.
In your main project goto Project :> References.
Scroll through the list till you find the name of your AX exe.
Check the box next to your projects name and click OK.