RicoSuter / NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
http://NSwag.org
MIT License
6.67k stars 1.23k forks source link

v14.0.2.0 newtonsoft as transitive dependency #4713

Closed benjaminoerskov closed 7 months ago

benjaminoerskov commented 7 months ago

In my project I have installed newtonsoft as a transitive dependency. After upgrading to nswag v14.0.2.0 it no longer works. If I install newtonsoft directly in my project it works again. Is this intended?

System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified.

My project can build and run both unit and integrationtests just fine also.