SigSpec icon indicating copy to clipboard operation
SigSpec copied to clipboard

Binary incompatible with Namotion.Reflection

Open tibitoth opened this issue 2 years ago • 0 comments

Current package is binary incompatible with the transitively referenced current Namotion.Reflection package. SigSpec is trying to invoke XmlDocsExtensions.GetXmlDocsSummary(this CachedType type) but is has been changed in this commit https://github.com/RicoSuter/Namotion.Reflection/commit/51eb057f4ace71f7f0a21305558b2a8c352947bf where an optional parameter has been introduced.

This change is compatible in compile time but it's not binary compatible because SigSpec throws an exception: Unhandled exception. System.MissingMethodException: Method not found. SigSpec need to be recompiled and republished to mitigate this bug.

A possible woraround could be to downgrade the Namotion.Reflection package but I cannot do this on my project beacause latest NSwag requires this modified package, so NSwag and SigSpec is currently incompatible.

tibitoth avatar Apr 08 '22 08:04 tibitoth