diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs index c899270ad21..e0dcc14fb1f 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/CSharp/CSharpServiceProxyGenerator.cs @@ -553,11 +553,16 @@ private static string GetRealTypeName(string typeName, List usingNamespa var s2 = s1[i].Split(","); for (var x = 0; x < s2.Length; x++) { - type.Append(s2[x].Split(".").Last()); + var s3 = s2[x].Split(".").Last(); + type.Append(s3); if (x < s2.Length - 1) { type.Append(", "); } + else if(!s3.Contains(">")) + { + type.Append("<"); + } } } else