Sandbox with code are disabled in SharePoint Online. Does it mean that I cannot use Feature Receivers?
I have a sandbox solution with reciever, it works ok but if I check "Include assembly in package" to false
I get deployment error:
Error occurred in deployment step 'Activate Features': Unable to load assembly group. The user assembly group provider was unable to provide any user assemblies for the specified assembly group.
Does it mean that if I want to use "Office365-friendly" solution - I can't use feature receivers?
upd.: Created Module and wanted to clear my files in FeatureDeactivating event in Feature receiver. Thanks for Your answers, understand that it is impossible.
However, I found how to force overwrite my files in module without clearing with code:
<File Path="SomeFolder\jquery-3.1.1.min.js" Url="SomeFolder/jquery-3.1.1.min.js" Type="GhostableInLibrary" ReplaceContent="TRUE"/>