Skip to content

Missing docs for ApiCompatPreserveUnnecessarySuppressions + ApiCompatPermitUnnecessarySuppressions #46242

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

Open
304NotModified opened this issue May 17, 2025 · 1 comment

Comments

@304NotModified
Copy link

304NotModified commented May 17, 2025

Type of issue

Missing information

Description

I see in this issue dotnet/sdk#34936 that this is supported:

<PropertyGroup>
  <ApiCompatPreserveUnnecessarySuppressions>true</ApiCompatPreserveUnnecessarySuppressions>
  <ApiCompatPermitUnnecessarySuppressions>true</ApiCompatPermitUnnecessarySuppressions>
</PropertyGroup>

But it isn't documented on https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/baseline-version-validator

Page URL

https://learn.microsoft.com/en-us/dotnet/fundamentals/apicompat/package-validation/baseline-version-validator

Content source URL

https://github.com/dotnet/docs/blob/main/docs/fundamentals/apicompat/package-validation/baseline-version-validator.md

Document Version Independent Id

c8d7765b-7332-b8e2-673d-77a32156294a

Platform Id

b50004b3-f990-9554-4200-7afce4e1a3ee

Article author

@dotnet-bot

Metadata

  • ID: ed723ea8-3645-7a48-3b30-858a6cbe976d
  • PlatformId: b50004b3-f990-9554-4200-7afce4e1a3ee
  • Service: dotnet-fundamentals

Related Issues

@304NotModified
Copy link
Author

304NotModified commented May 18, 2025

Ah its documented somewhere else. Maybe explain in short that there are more attributes and can be found here:

https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#package-validation-properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant