Fix assembly resource loading issue