-
Notifications
You must be signed in to change notification settings - Fork 91
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
Missing System.Web.Http using in generated file #86
Comments
This is still an issue with the latest version (1.3.6021.11899).
Here is an example method: TY |
Adding a reference to The return type I've noticed that this does indeed gets generated like mentioned above, but only some of the methods and will push out a bug fix that addresses this shortly. In the meanwhile I would suggest explicitly specifying the return type using |
Fair comment, thx for the speedy reply. Cheers |
After further investigation on this issue (and hoping it was changed by an accidental merge earlier on), I found that this specific scenario is implemented by design to enforce the use of It generates 3 methods, 2 of which returns a standard
Really don't know what the actual difference (or use) is between nr. 1 & 2, therefor I suggest the following:
|
The only thing is that it still shouldn't break if one doesn't use |
Generated proxy class file is missing System.Web.Http using therefore compilation of project is falling afterwards.
.Net framework - 4.5.2
WebApiProxy-CSharp version - 1.0.5.35849
The text was updated successfully, but these errors were encountered: