Tuesday, May 10, 2011

Visual studio tools for AX 2012

Now it became really easy to develop managed components for AX.
In order to do that you’ll need Visual Studio 2010 and Visual Studio Tools for AX 2012.


The first tool to mention is, of course, Application Explorer. It contains elements from AOT (and it actually looks pretty much like AOT) and allows to perform some operations with them. For example, it is possible to open projects or SSRS reports stored in AOT in the same visual studio instance just by clicking edit on project node in application explorer.


Application Explorer also allows to generate proxies for AX tables, classes, enums and add them to the project. Just by dragging them from application explorer to solution explorer.


It is also very important to mention that VS projects can now be stored in the AOT. That is convenient since they can be included into models, as well as all other AOT objects and thus packaged\deployed easily.


Project can be added to the AOT from the Visual Studio directly.

35 comments:

  1. Thanks a lot for this post! :)

    Could You please clarify how it is possible to create new Dynamics C# project in VS? ("ClassLibrary1" in Your example). Is there should be such template in VS?

    Also, because I can't try it by myself, please say is it possible to operate by Ax objects in VS? And if Yes - how? I see in Your example code line "InventTable.txtNotExist()" and this is very interesting :)

    Thanks! Your blog is most informative about AX 2012 I think :)

    ReplyDelete
  2. Thanks:)

    Yes, there are some new AX-specific project templates, for example, for reports or web modules. However other standard project types can be added to the AOT as well. For example, on the last screenshot I am adding C# class library to the AOT.

    AX objects can be accessed. You can see in the ClassLibrary1 project there are nodes for InventTable, InventType and ABS enum. Those are proxy classes that can communicate with AX throught the MIL framework (Business Connector replacements). Those proxies can be generated by dragging objects from Application Explorer to the project.

    ReplyDelete
  3. Good post!

    Question. From AOT Visual Studio Projects. How can i add an existing C Sharp Project to my Solution?

    ReplyDelete
  4. I have installed Visual Studio 2012 but its Application Explorer is not shown under the View menu. It does show under Visual Studio 2010.

    does it means that I need to uninstall Visual Tools and install once again so that both Visual Studio 2010 and 2012 Application Explorer can be viewed from menu View
    option.

    ReplyDelete
  5. What i don't understood is in truth how you're now not actually much more smartly-appreciated than you might be right now.
    You're so intelligent. You already know therefore considerably in the case of this matter, produced me for my part imagine it from numerous numerous angles. Its like women and men aren't fascinated unless
    it is something to do with Woman gaga! Your own stuffs great.

    All the time care for it up!

    Check out my web site ... frankrijk vakantiehuizen []

    ReplyDelete
  6. can visual studio 2010 integrated with AX2009 ???

    ReplyDelete
  7. which Visual Studio 2010 version should be appropriate with AX2012 R2? ...
    coz i have install Visual Studio 2012 Express on my machine, but when i get install Visual Studio Tools on AX2012, my VS2012express not detected by AX2012 prerequisites...

    ReplyDelete
    Replies
    1. I'm afraid of that Ax2012 R2 works only with VS2010.

      Delete
  8. In X++ it is possible to dynamically create an AX class, compile it and then execute its methods.

    In .NET code you can dynamically create C# code, compile it and generate a DLL (either in-memory or on disk) and then use it.

    I wonder if it will still be possible in AX2012 (and coming versions!) to have an AX class that dynamically creates another AX class at runtime with access AOT objects? Or will the shift to Visual Studio prohibit this eventually?

    ReplyDelete
  9. Please any one can give me a download link to this tool for Dynamics ax 2012 R2

    ReplyDelete
    Replies
    1. I think you can find the Visual Studio Tools for AX 2012 on the Ax2012 installer as the first screenshot shows.

      Delete
  10. Hi :) It is a big pleasure to read your blog. Thank you so much for sharing this article about Microsoft Dynamics AX posting profile inventory transactions in Modules.

    ReplyDelete
  11. Indian And Pakistani Escort Girls In Dubai Companions and Elite Sweetheart Experience Administrations.
    Regardless of whether The Model Girls are Really at That Level or Recently Advertised That Way,
    The Fortunate Respectable Who Have This Gigantic Choice of Cute Models.
    Indian Escort In Dubai

    ReplyDelete
  12. I certainly knows how to ensure your complete satisfaction during a meeting from its very beginning until the end. My body is very gorgeous, hot and sexy, charming looks and beautiful.checkout this CALL GIRLS IN DUBAI

    call and whatsapp number 00971522909500
    http://dubaimodels.co/callgirlsindubai.html
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  13. I'm Here to Provide you Girls for Dance Parties Late Night Hotels Parties, Sex, Sex Parties. Collage And University Girls, Top Profile CALL GIRLS IN DUBAI From Pakistan and Other Different Countries such as India Russia and Turkey
    call and whatsapp number +971561616995
    http://escort19.com/
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  14. Are You Looking To Here A Wishing Well For Your Dating Or Romantic Fun So; We Have A Wide And Unique Range Of Indian Russian, Arabic Turkish and Pakistani CALL GIRLS IN DUBAI.

    call and whatsapp number +971561616995
    http://www.dubaihighescorts.com/
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  15. All Our Indian Pakistani CALL GIRLS IN DUBAI Are Available For In Call And Out-call We Are Waiting For Your Call Anytime you want.

    call and whatsapp number +971561616995
    http://independent-escorts-girls.com/
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  16. In Our Agency Hot CALL GIRLS IN DUBAI Have Fully Up to Date Escorts In Dubai With New Faces Belongs From Fashion Industry And Modeling.

    call and whatsapp number +971561616995
    http://www.escortsdubai110.com/callgirlsindubai.html
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  17. CALL GIRLS IN DUBAI provides gentlemen as they want to have such a exalted seek and i am one of the best selection of their requirement

    call and whatsapp number +971561616995
    http://dubaiescorts110.com/callgirlsindubai.html
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  18. I am very attractive, charming, beautiful and sexy CALL GIRLS IN DUBAI. I have a great experience to know how to satisfied a man and how to comfort him with me at first time

    call and whatsapp number +971561616995
    http://dubaiescorts-verified.com/callgirlsindubai.html
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  19. I am available to travel across Dubai and will come to you. CALL GIRLS IN DUBAI

    call and whatsapp number +971561616995
    http://dubaiescort-verified.com/callgirlsindubai.html
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete
  20. I am available all the time for your services. If you want to meet me you can call me CALL GIRLS IN DUBAI. I am available 24/7 for you.


    call and whatsapp number +971561616995
    http://dubai-peaches.com/callgirlsindubai.html
    https://www.scoop.it/t/dubai-escorts-by-anjalimodel9
    https://vk.com/dubaiescorts.verified

    ReplyDelete