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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Build error because of DLL updates

(0) ShareShare
ReportReport
Posted on by

Hi guys,

Under my company source control, there is a custom DLL that being used in some of the classes. I actually not using this in my own VS Project, but since we need to regularly "Get latest" I just need to have this DLL in my <model>/Bin folder.

Issue is, currently my Build always having error of saying some method is not found which is actually inside the DLL. The DLL it self is just getting some updates, and I have put the updated in my <model>/Bin Folder. If I'm doing Full Build (from top menu of Visual Studio), Build completed successfully. But like mentioned, the error come again if I only Build from my Solution\Project. Hence, I need to every time doing Full build which is really wasting time because of the build obviously takes longer.

Anyone know why this is happened and how to resolve it ?

Thanks,

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

    Are you saying that you're manually putting the DLL to your <model>/bin folder instead of getting it from source control?

    Are you the only developer with this problem?

    Do I udnerstand correctly that this DLL is a .NET assembly developed independently on F&O? (Another approach is using .NET projects referenced by X++ projects.)

  • VoltesDev Profile Picture
    on at

    Hi Martin,

    Yes, I put manually, but the developer who creates it already referenced it in his project. So I guess this is also what you mean by "using .NET project reference by X++ project" ?

    Also worth to mentioned, previously there is no problem, means at the 1st time it was created, manually put in my DevBox, there is no problem. Only now when there is an update, and I just paste the updated DLL file (replace), and having this issue.

    Thanks

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

    The developer should have tested it and added the file to source control. Other developers, such as yourself, should get the file (in the tested version) simply by using "Get latest".

    If the other developer referenced a DLL file (developed by someone else) and not a project, it's not it's not a project reference. Don't worry about it, it's sufficient to know that we're talking just about a DLL file and not a project.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans