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 :
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 766
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?
I have the same question (0)
  • FabioG Profile Picture
    130 on at

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

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

    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.

  • ThomasWilke Profile Picture
    766 on at

    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.

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 > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans