-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GenerateReferenceAssemblySource does not respect the CompatibilitSuppressions.xml #112451
Comments
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
The expectation is that they are different inputs. Here's an example of how to configure GenAPI to exclude those types
Might be nice if we had a single way to tell both tools not to look at the type, but redundancy here isn't necessarily a bad thing. |
Ah yes, you're right, the CompatibilitySuppressions.xml does not have the format required by ApiCompat/GenAPI with a list of fullname DocIDs. I'll do what Tensors is doing then. Thanks. |
Fixed it in System.IO.Compression.csproj: https://github.com/dotnet/runtime/pull/112440/files#diff-a9e5b4d167cacb3259db3392fd54f9f1c8c96568e4c49e9e73fa99414079044f Since this isn't really a bug, but a missing property in the csproj, I think this can be closed. |
As asked here: #112440 (comment)
When I ran the commands from this guide:
A
ZLibException
was unexpectedly added to the ref file, even though it's explicitly excluded in the CompatibilitySuppressions.xml file of System.IO.Compression.I do not know if the GenAPI Task is currently configured to know how to locate any CompatibilitySuppressions.xml file and determine which APIs to skip. But since the addition to the ref was unexpected, we should look into this.
The text was updated successfully, but these errors were encountered: