Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# proxy compile error when comments have miltilines #7

Closed
elize1979 opened this issue Apr 5, 2014 · 0 comments
Closed

C# proxy compile error when comments have miltilines #7

elize1979 opened this issue Apr 5, 2014 · 0 comments

Comments

@elize1979
Copy link

Hello Fanie,

And thanks for great NuGet package.

Small issue I found, in case class, method (action), property contains multiline comments, for example:
///

/// Line1
/// Line2
/// Line3
///

The generated WebApiProxySource.cs will have the following proxy stub and hit Compile error:
///

/// Line1
Line2
Line3
///

Based on quick look into your T4 template in: https://github.com/faniereynders/WebApiProxy/blob/master/WebApiProxy.Tasks/Templates/CSharpProxyTemplate.tt

Seems like you need to escape properly the following:
<#= definition.Description #>
<#= method.Description #>
<#= p.Description #>

Can you please fix it and release new update?

Thanks a lot, Eli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant