Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Creating class library C# for Dynamics AX 2012 R3 CU11

Posted on by 60

Hi All,

Currently i am working on a class library for one of my customers as i did before. Now when i am adding / deploying a new class library i get the following warning. Also when i add references via nuget those .dll files are not copied, while the property is to always copy the file.

Screenshot-2021_2D00_06_2D00_30-at-10.25.41.png

Warning: Unable to find the project 'project name' int he AOT. The project output will not be saved.

When adding it to the AOT it will give me this warning, but the project is added to the AOT, but not in full. Even when i create a empty class library, no code or additional references it will give me this. Anybody has ever seen this?

  • Jack D Profile Picture
    Jack D 60 on at
    RE: Creating class library C# for Dynamics AX 2012 R3 CU11

    This actually worked, still quite a strange warning since the assembly will be copied sometimes into the assembly folder (client and server).

  • Verified answer
    ergun sahin Profile Picture
    ergun sahin 8,812 Super User on at
    RE: Creating class library C# for Dynamics AX 2012 R3 CU11

    After deleting the old Project from AOT, make sure to remove all dlls in bin folder and assembly. Clear them on both client/server sides. Restart AOS

    Then add again

  • Suggested answer
    Jack D Profile Picture
    Jack D 60 on at
    RE: Creating class library C# for Dynamics AX 2012 R3 CU11

    I deleted the project name but then there is not project anymore and i need to recreate it or i am totally in the dark by what you mean.

    When i do the same on a different AOS there is no issue at all, seems i need to check my own AOS.

    edit:

    Regarding the third party reference dll files i used Joris his tutorial which works just fine.

    www.codecrib.com/.../auto-deploying-dlls-and-other-resources.html

  • Suggested answer
    kimseng Profile Picture
    kimseng 15 on at
    RE: Creating class library C# for Dynamics AX 2012 R3 CU11

    Go to Project solution and delete the project name with dim icon

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans