[CS] Simplify plugin generator by setting base directory