The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I was working on a project and one of my plugins was throwing an error, so I fired up the Plugin profiler to debug it. This is the second article I have written about the Plugin Profiler this week
CRM 2015 – Understanding the plugin profiler and a puzzling error
If you want some step by step instructions for debugging with CRM 2013 Plugin Registration tool, this article is pretty good
Debugging online plugin in CRM 2013
I loaded up CRM 2013 plugin profiler, oohed and ahhed at the spruced up appearance.
I installed the profiler
I triggered by plugin by creating a record
This gave me the serialized error, I downloaded it.
Debugged in the Plugin registration tool, choose my dll and downloaded txt.
Attached to the process in Visual Studio and started debugging.
The code instantly threw an error
Could not load file or assembly ‘Microsoft.Xrm.Sdk, Version=126.96.36.199
I have seen many CRM error in my time and they are usually a bit misleading but this error told me it couldn’t load the Microsoft.Xrm.Sdk version 188.8.131.52
The CRM SDK has versions which are different from the CRM release, it is what CRM would be if it used sensible numbering instead of years.
CRM 2011 – Version 184.108.40.206
CRM 2013 – Version 220.127.116.11
CRM 2015 – Version 18.104.22.168
You can see the CRM SDK versions if you go to this page
CRM SDK 2013 Release History
CRM SDK 2015 Release History
The zero’s will go up as service releases and patches are released by the important number is the first digit.
I was debugging a CRM 2013 instance but it was complaining about a missing CRM 2011 SDK dll!
I had a thought, why don’t I try using the CRM 2011 plugin registration tool but surely this wouldn’t work.
So I connected the CRM 2011 Plugin registration and used it to debug my plugin.
Now I have to admit I wasn’t expecting it to work but
It seems I am working with a CRM 2013 project but the DLL’s used in the plugins are CRM 2011, I went off to check the dlls being used by the plugins
I’m guessing someone created a new CRM project and copied the DLL’s from a CRM 2011 project. This will work fine unless you need to use any of the new functionality in the CRM 2013 SDK.
It might also bring up an unusual error sometime in the future.
It’s interesting to note the core plugin functionality is the same between version CRM 2011 and CRM 2013.
Business Applications communities