You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you have to reference the analyzer with PrivateAssets="All" to prevent the analyzer from flowing to referencing projects. However, this means referencing projects don't reference the Attributes package, which can cause issues with runtime reflection.
PrivateAssets="analyzers" would be the preferred solution but needs NuGet/Home#6279 to be resolved.
One workaround is to reference the Attributes package directly in projects that need it.
The text was updated successfully, but these errors were encountered:
Currently you have to reference the analyzer with PrivateAssets="All" to prevent the analyzer from flowing to referencing projects. However, this means referencing projects don't reference the Attributes package, which can cause issues with runtime reflection.
PrivateAssets="analyzers" would be the preferred solution but needs NuGet/Home#6279 to be resolved.
One workaround is to reference the Attributes package directly in projects that need it.
The text was updated successfully, but these errors were encountered: