Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Wrong version of Micro...
Finance forum

Wrong version of Microsoft.XRM.SDK.dll within the main bin folder

(0) ShareShare
ReportReport
Posted on by 760
Hi
I have a dev project referencing Microsoft.XRM.SDK.dll in an actual version. When building the model this DLL is stored in model\bin folder. Which is great :)
But beside that there is an old version (6.1.0000.0542) of the DLL in the PackagesLocalDirectory\bin folder.
D365 is using this DLL at runtime. I can replace it and than everything is fine.
But this would not work for the productive environment. 
Has anyone an idea how to force D365 to either use the DLL within the model\bin folder or to change the version in the bin folder?
  • ThomasWilke Profile Picture
    760 on at
    RE: Wrong version of Microsoft.XRM.SDK.dll within the main bin folder

    Hi Fabio,

    that's what i did in my DEV Box and in our TEST and TRAINING environment. It works until the next package get's deployed.

    Hi Martin,

    ok, so we need to be creative :)

    I'll keep you posted if I find a way to deal with it.

  • Martin Dráb Profile Picture
    232,970 Most Valuable Professional on at
    RE: Wrong version of Microsoft.XRM.SDK.dll within the main bin folder

    Such issues with various DLLs have been discussed a few times in the Yammer forum for the feedback program and even Microsoft hasn't offered any solution.

  • FabioG Profile Picture
    130 on at
    RE: Wrong version of Microsoft.XRM.SDK.dll within the main bin folder

    have you tried to compile your code and substitute the compiler dll with the old one on production?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,208 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,970 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans