Skip to content

Fixes Analyzer warning because of missing PrivateAssets #13

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

Merged
merged 1 commit into from
Apr 26, 2025

Conversation

BenjaminAbt
Copy link
Member

This pull request refines the structure of package references in the project configuration files to ensure consistency and clarity. The changes primarily involve explicitly defining PrivateAssets and IncludeAssets for certain package references.

Package Reference Enhancements:

  • Directory.Build.props: Updated the Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.Common, and Microsoft.CodeAnalysis.CSharp package references to explicitly include PrivateAssets and IncludeAssets attributes for better clarity and consistency.

  • Directory.Packages.props: Adjusted the Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.Common, and Microsoft.CodeAnalysis.CSharp package versions to explicitly define PrivateAssets and IncludeAssets attributes, aligning them with the project's conventions.

This commit improves the readability of `Directory.Build.props` and `Directory.Packages.props` by standardizing indentation and formatting. The `PublicKey` section has been reformatted for clarity, and all `PackageVersion` entries for `Microsoft.CodeAnalysis` packages now consistently include `PrivateAssets` and `IncludeAssets` attributes.
@BenjaminAbt BenjaminAbt merged commit 301dec9 into main Apr 26, 2025
2 checks passed
@BenjaminAbt BenjaminAbt deleted the feature/fix-analyzer-privateassets branch April 26, 2025 17:48
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