Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Plug-in Issue : "The located assembly's manifest definition does not match the assembly reference"

(0) ShareShare
ReportReport
Posted on by 383

Hello All,

I registered my plug-in to Production Organization and having below issue even after I registered Microsoft.SharePoint.Client DLL to production server GAC.  Is there any additional steps do i need to configure . Any help would be greatly appreciated. Thank You.

Error: Inner Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

Plugin Trace:

SharePoint_Title: DHHS.CM.SharePoint_Title.Title]
[7dc3b94b-7738-ea11-81a3-0ee8306a0a7a: DHHS.CM.SharePoint_Title.Title: ca_SharePoint_Title of any Entity]
AddToQueue: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
at SharePoint_Title.Title.validate_doc(Entity ent, String documentName, String Title)
at SharePoint_Title.Title.Execute(IServiceProvider serviceProvider)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Error Message:

Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: An error occurred in the SharePoint_Title. plug-in.
at SharePoint_Title.Title.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Asynchronous.EventOperation.InvokePlugin(AsyncExecutionContext context, IPlugin pluginInstance)
Inner Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at SharePoint_Title.Title.validate_doc(Entity ent, String documentName, String Title)
at SharePoint_Title.Title.Execute(IServiceProvider serviceProvider)

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Plug-in Issue : "The located assembly's manifest definition does not match the assembly reference"

    Hello,

    I would recommend to use ILMerge to merge your assemblies into one - nishantrana.me/.../

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 102

Overall leaderboard

Product updates

Dynamics 365 release plans