protected override void OnResolveCompositeScriptReference(CompositeScriptReferenceEventArgs e) {
#if !NET4
foreach (ScriptReference sr in e.CompositeScript.Scripts) {
ApplyAssembly(sr, true);
}
base.OnResolveCompositeScriptReference(e);
#endif
}
base.OnResolveCompositeScriptReference(e); must be outside #if !Net4 ... #endif otherwise ScriptManager::ResolveCompositeScriptReference is never triggered
#if !NET4
foreach (ScriptReference sr in e.CompositeScript.Scripts) {
ApplyAssembly(sr, true);
}
base.OnResolveCompositeScriptReference(e);
#endif
}
base.OnResolveCompositeScriptReference(e); must be outside #if !Net4 ... #endif otherwise ScriptManager::ResolveCompositeScriptReference is never triggered