With v14, a FileResponse class is generated and getting the following error:
Error CS0121 The call is ambiguous between the following methods or properties: 'FileResponse.FileResponse(int, IReadOnlyDictionary<string, IEnumerable<string>>, Stream, IDisposable, IDisposable)' and 'FileResponse.FileResponse(int, IReadOnlyDictionary<string, IEnumerable<string>>, Stream, IDisposable, IDisposable)'
Error goes away when I manually remove the class, and things seem to work as expected.
This seems to happen when the controller returns IActionResult, and the method created in the client returns FileResponse for some reason.
With v14, a FileResponse class is generated and getting the following error:
Error CS0121 The call is ambiguous between the following methods or properties: 'FileResponse.FileResponse(int, IReadOnlyDictionary<string, IEnumerable<string>>, Stream, IDisposable, IDisposable)' and 'FileResponse.FileResponse(int, IReadOnlyDictionary<string, IEnumerable<string>>, Stream, IDisposable, IDisposable)'
Error goes away when I manually remove the class, and things seem to work as expected.
This seems to happen when the controller returns IActionResult, and the method created in the client returns FileResponse for some reason.