Skip to content

Conversation

@azyobuzin
Copy link

Thank you for creating and maintaining such a great library! We are active users of this project, and it has been very helpful in our development.

Recently, after updating to the latest version, we noticed that analyzers were added as dependencies, which resulted in new warnings being reported in our own codebases.

As these analyzers are only needed for the implementation of this library itself and have no impact on the consumers, setting them as PrivateAssets ensures that they are not included in downstream projects. This prevents users from unintentionally receiving analyzer warnings originating from this library.

We initially tried to work around this by using the ExcludeAssets option, but due to dotnet/sdk#1212 — which is still unresolved — analyzers are still included even when excluded in the project file.

This change properly ensures that consumers will not have analyzers from this library included by default.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant