Skip to main content

Notifications

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,

  • Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    RE: Build error because of DLL updates

    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.

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Build error because of DLL updates

    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
    Martin Dráb 230,962 Most Valuable Professional on at
    RE: Build error because of DLL updates

    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.)

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans