Generate multiple protocol into single C# file by running the compiler once