NSwag icon indicating copy to clipboard operation
NSwag copied to clipboard

NSwag 14.0.3 still issues warning CS8618

Open nifklas opened this issue 1 year ago • 1 comments

Seemingly the same _baseUrl issue that was reported in #4704

nifklas avatar Feb 14 '24 09:02 nifklas

Same here. We use a strict build configuration which has WarningsAsErrors set to nullable, so this is a build error for us that we currently have to work around. For now I'm just removing the field manually, since it is apparently never used in the generated code.

NoahStolk avatar Feb 15 '24 12:02 NoahStolk

Same here Have had to disregard the errors for now with

<PropertyGroup>
    <NoWarn>CS8618;CS0169</NoWarn>
  </PropertyGroup>

prom3theu5 avatar Feb 22 '24 14:02 prom3theu5