Fixed bug related to loading and deploying resources from external assembly