Closed darix795 closed 7 months ago
@darix795 did you find a solution for this issue? I'm getting something similar. I updated to .net 8 and from nswag 13->14. After that I started getting:
System.TypeLoadException: Could not load type 'NJsonSchema.Converters.JsonInheritanceConverter' from assembly 'NJsonSchema, Version=11.0.0.0, Culture=neutral, PublicKeyToken=c2f9c3bdfae56102'
Probably you didnt update njs to v11 everywhere as the attributes are now in an own package:
NJsonSchema.Annotations
the newtonsoft inheritance converters are moved to:
NJsonSchema.NewtonsoftJson
(you are probably using stj ones)
Yep, I had one project that was on 10.9.
Hello, recently i have upgrade my project to .net 8. Following to this upgrade i move from NSwag 13 to 14. After this NSwag.MSbuild has stopped to work and this is the error stack trace:
Following my csproj configuration:
and version of NSwag packages:
At the end i share with you nswag.json file content:
I try to install on my project package
NJsonSchema.Annotations.JsonSchemaAttribute
, but nothing change. Can anyone help me?