update code generation using T4 template

Signed-off-by: sword <caoxiangkun@gmail.com>
update test csproj

Signed-off-by: sword <caoxiangkun@gmail.com>