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)

Create Dll in VS

(0) ShareShare
ReportReport
Posted on by

Hello guys!

I have got a problem with import Dll which was create in VS. I tried this: http://dynamicsuser.net/forums/p/63880/338155.aspx
b
ut after copy it to the folder, and find in references in AOT i ve got a message with CLRObject.

Anyone?

*This post is locked for comments

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

    Would you mind explaining what exactly you're doing? Are you adding the project to AOT or adding a reference to an externally built assembly? What's the "message with CLRObject" and when exactly it occurs?

  • Community Member Profile Picture
    on at

    When i ve got the dll file, I paste it to : C:\ProgramFiles\Microsoft Dynamics Ax\50\Client\Bin

    Next i open the AOT tree and there I clicked Right mouse Button on References. I add new Reference and when I find my dll in file browser and i click ok I ve got error : "Call static method CLRObject Error"

  • Verified answer
    Community Member Profile Picture
    on at

    Problem Solved.

    .Net 3,5 not 4 ^^

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    You tagged your question as "AX 2012", but you're using the client folder for AX 2009. What's your real version of AX?

    Also, tell us more about the assembly. For which version of .NET framework has it been built?

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    Aha, so it seems that answers would be: "AX 2009", ".NET 4".

  • Community Member Profile Picture
    on at

    Yeah. Sorry, my bad.

    AX 2009, .Net 3.5

    But thanks for your help ;)

    Greetings!

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