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.
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.
There may be several reasons. First of all, doesn't you assembly depend on other libraries that aren't available in F&O?
I still get the same errors on the objects specifying they don't exist on the current project.
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;
André Arnaud de Cal...
292,160
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156