Question

I try making a Dynamic CRM Online Plugin that use SpreadsheetGear 2012 dll to process excel file attached as a record's annotation when an update is being done.

However, after I register the plugin, I keep getting this:

Could not load file or assembly 'SpreadsheetGear2012.Core, Version=7.0.5.139, Culture=neutral, PublicKeyToken=39c186f5904944ec' or one of its dependencies. The system cannot find the file specified.

Do I need to merge my plugin dll and this spreadsheetgear2012 first? Or is it not possible to include 3rd party library in dynamic crm online plugin?

Was it helpful?

Solution

You can only have one dll for a plugin, but you could try using ILMerge ( http://www.microsoft.com/en-us/download/details.aspx?id=17630 ) to merge your plugin dll with the 3rd party dll.

Still, this will only work if the 3rd party library use code that is supported in "Dynamics CRM Sandbox mode".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top