Closed weitzhandler closed 7 years ago
Solution can meanwhile be found in the comments of https://docs.microsoft.com/en-us/azure/app-service-api/app-service-api-dotnet-get-started:
Jabele 1 day ago @mshetty27 @ashwin Add the Newtonsoft.Json.dll (7.0.1 version) to the C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE folder. Re-run Add Rest Client command.
That solved the problem. Thanks a lot @wondering639. Anyway, looks like the generator isn't sufficient enough, my consumer is a XAML project and thus I need generated INPC entities.
I wonder why there is no reliable in-project page for coordinating WebApi generation into neighboring projects in solution, the generation should be independent to swagger I think, there should just be a way to marry a client and a WebApi having the client entities generated (with some customizable options, maybe T4) in the client. Here's my suggestion on UserVoice, please vote and share your thoughts.
After reading this page, when trying to use this option to Xamarin portable app client (from a swagger json file), I get the following message:
Steps to reproduce:
Newtonsoft.Json
package via nuget