Fixed issue where resource assemblies were added multiple times with the same name