web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

VS 2013 C Sharp project on AX 2012 R2 CU7 AX version

(0) ShareShare
ReportReport
Posted on by

Hello,

On one of our customer's AOS box, we found  a customized (not a standard one) C sharp project. They use AX 2012 R2 CU7.

There is a visual studio 2010 installed on it. When I try to open this C Sharp Project, i get the message that 

'This project is incompatible with the current version of Visual Studio'.  I found that this project has few 3rd Party DLLs referenced in it. These 3rd Party DLLs are built against .NET framework 4.5.2. Hence I believe this VS project is created in VS2012 or VS2013 or higher version.

My questions are,

1) Is this possible to create project in such higher VS version and load in AX 2012 R2 CU7 AX? Does AX support this?

2) How does this 3rd Party DLLs are being shown in VS Project -> Project Output node?  I tried to create such a project using AX 2012 R3 and VS 2013. I referenced these DLLs and built my project and added it to AOT.  It doesn't show 3rd Party DLLs there. Only my project's compiled DLL file is being shown there. My project has Deploy to Client, Deploy to Server, Deploy to EP properties set as 'Yes'. What am I missing?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    I think it depends on what you mean by "to load in AX". It seems that it already has been added to AOT and your problem is with VS, not AX.

    But I think you should leave CU7, which is already four years old and therefore you're missing a plenty fixes and features. And because AX supports VS 2013 from CU8, the whole question about VS 2010 will disappear.

  • Community Member Profile Picture
    on at

    Hi Martin,

    Unfortunately I am not the decision maker to move to higher version.

    You're right that my problem is with VS where I can't open VS project as it was created in higher version. I am wondering that how was it loaded in the AOT as the server has only VS 2010 installed on it. and AX 2012 CU7 doesn't support VS 2013.

    I mean to import the project using XPO in AOT when i said 'load to AX'.

  • Suggested answer
    Martin Dráb Profile Picture
    237,976 Most Valuable Professional on at

    Most likely is was developed elsewhere.

    The answer to your  first question is no, CU7 doesn't support projects developed in VS versions other than 2010.

    Regarding you other question, maybe the developer used the solution described in Auto-Deploying DLLs and Other Resources - Intermission.

  • Community Member Profile Picture
    on at

    Hi Martin,

    I just found another box where higher VS is installed and has that project in AX 2012 R3. I believe it was developed here and then somehow imported to AX 2012 R2 CU7 version. But still question remains, How? It can not be exported and imported either using XPO or model file. Nothing would work. Weird.

    I understood your 2nd answer. Thanks for that.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans