.NET Core 3.1 Support
See original GitHub issueAs I’m sure you’re aware, and can read about here, .NET Core 3.1 is now out, sadly I’m getting issues when trying to build with the MSBuild package:
Executing file 'nswag.json' with variables 'Configuration=Debug,OutDir=bin\Debug\netcoreapp3.1\'... 2>System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. 2>File name: 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 2> at System.Reflection.RuntimeAssembly.GetExportedTypes() 2> at System.Reflection.Assembly.get_ExportedTypes() 2> at NSwag.Generation.WebApi.WebApiOpenApiDocumentGenerator.GetControllerClasses(Assembly assembly) in C:\projects\nswag\src\NSwag.Generation.WebApi\WebApiOpenApiDocumentGenerator.cs:line 39
Is there a workaround I can use or is this just a case of needing a new version of NSwag?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:15 (5 by maintainers)
v13.2.0
started here: https://github.com/RicoSuter/NSwag/pull/2567