We have created certain assemblies as MVC extensions, these assemblies need to execute some code before app start for which we are leveraging WebActivatorEx. We have genuine requirement to Gac our assemblies as well as WebActivatorEx. By default WebActivatorEx only deals with assemblies which are Bin deployed, we have modified the code a bit to load our assemblies which are in GAC. But the problem is when I reference Gac Assembly and WebActivatorEx, start up code does not get executed, but when I mark WebActivatorEx as Copy Local or make it Bin deployed then it works.
We have created certain assemblies as MVC extensions, these assemblies need to execute some code before app start for which we are leveraging WebActivatorEx. We have genuine requirement to Gac our assemblies as well as WebActivatorEx. By default WebActivatorEx only deals with assemblies which are Bin deployed, we have modified the code a bit to load our assemblies which are in GAC. But the problem is when I reference Gac Assembly and WebActivatorEx, start up code does not get executed, but when I mark WebActivatorEx as Copy Local or make it Bin deployed then it works.