scottdurow / SparkleXrm

An open-source library for building Dynamics CRM XRM solutions using Script#, jQuery & Knockoutjs.
MIT License
265 stars 197 forks source link

Dependent Assembly plug-ins registration #469

Open twiga2013 opened 1 year ago

twiga2013 commented 1 year ago

Hi,

Is there a plan to support Dependent Assembly plug-ins with spkl plugin registration?

mhemp2021 commented 1 year ago

+1 Vote.

Great new CRM feature, much better than ILMerge.

twiga2013 commented 1 year ago

How is it better than ILMerge?? I have used ILMerge in many projects with no issue.

shaunharvey commented 1 year ago

How is it better than ILMerge?? I have used ILMerge in many projects with no issue.

Dependent Assemblies is supported by Microsoft, that is the main thing.

ILMerge never has been supported, even though it was the only way to solve certain problems.

So, worst case scenario if you had a support issue with an ILMerged plugin they could refuse to help you. Especially, now there is a supported alternative.

I've used ILMerge a lot myself in the past. It is definitely very powerful.

The main problem with ILMerge are the size of the assemblies, which can get relatively large which might be an issue if you are firing off a lot of them.

Dependent Assemblies keeps the compiled plugin separate from the dependencies, keeping the size down.

mhcapgemini commented 1 year ago

ILMerge is also a bit of a "hack", it's not guaranteed to work and there have been people who have had unexpected issues in the past.