Unoptimized assembly detected: 'Swashbuckle.AspNetCore.Filters.dll'
fjmorel opened this issue · 2 comments
fjmorel commented
https://garcia.in/posts/2021/pitfalls-of-unoptimized-nuget-packages/
After building my API with that library, it revealed Swashbuckle.AspNetCore.Filters
and Swashbuckle.AspNetCore.Filters.Abstractions.
as not built in release mode.
mattfrear commented
OK, thanks for the heads up.
The performance impact of this would be nothing, because my package is only executed when someone downloads the swagger.json file.
However, compiler warnings aren't good, so I've fixed it and released it.
https://www.nuget.org/packages/Swashbuckle.AspNetCore.Filters/7.0.8
fjmorel commented
Thanks!!