Early bound Class Library in GAC? RRS feed

  • Question

  • Hi.

    I am currently investigating the possibility to have early bound proxyclasses (generated by CrmSvcUtil.exe) in a compiled library added to the GAC.

    The reason behind this is that we have many different project (crm assemblies) using the the same proxyclasses (and even centralized utility code projects, used by other project again, currently used as linked resources), and including the early bound proxy class increases the size of each project with 5MB+.

    I know I can decease this by using only the entities in use in each project,  but I was wondering if this is possible (and recommendable).

    Tried to solve it, but seems the CRM sdk does some "magic" to register the proxy classes, and does not include them unless the proxy classes are included in the project.

    Thursday, May 26, 2016 12:20 PM