Check the rules for uploading custom assemblies in the hosted environment.  It is possible settings have changed to not allow unsigned assemblies or specs that invoke CLR code.