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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

C# DLL not getting recognized inside Dynamics365FO project.

(0) ShareShare
ReportReport
Posted on by 148

I have a project that generated the .dll called BanxicoDll. This project contains no errors and generated the .dll without problems. At the moment of passing the .dll to the D365FO project I can add it and it can be seen inside "References", but at the moment of using it with the "using BanxicoDll;" it gives me the error that it does not recognize it.

Inside the bin folder of the D365FO project I make sure that it is the same file that was generated in the .dll project. I also see that the .dll is inside the bin folder of the model that I am using for this project: K:\AosService\PackagesLocalDirectory\"model name"\bin.

I've also checked that the version of the .dll and the version of the D365FO project are compatible.


I already did a Build, Clean and Rebuild. Also inside the DYNAMICS 365 tab I made a Full Build of the model I am using and I have already made a Full Build of all the models that exist and it still does not recognize it. Also within the properties of the DLL I see that the path is correct, I do not know what else I can do. Thanks in advance.

  • Mariano Gracia Profile Picture
    on at

    You don't need to use the clause "using BanxicoDll", you can use the objects included in the dll directly in you x++ code, just write a new variable BanxicoDll.Object_built_in_your_dll variable_name;

  • Daniel Mora Profile Picture
    148 on at

    I still get the same errors on the objects specifying they don't exist on the current project.

  • Martin Dráb Profile Picture
    241,637 Most Valuable Professional on at

    There may be several reasons. First of all, doesn't you assembly depend on other libraries that aren't available in F&O?

  • Daniel Mora Profile Picture
    148 on at

    No I didn't need other libraries. I already fixed it in one weird way, I just commented everything inside my Main method and just build it like that and suddenly the .dll got recognized. But I still have other problems that I will probably post it on another thread.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 271 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans