Fix dependency references issue of c# plugins.