Skip to content

Fixes Analyzer warning because of missing PrivateAssets#13

Merged
BenjaminAbt merged 1 commit intomainfrom
feature/fix-analyzer-privateassets
Apr 26, 2025
Merged

Fixes Analyzer warning because of missing PrivateAssets#13
BenjaminAbt merged 1 commit intomainfrom
feature/fix-analyzer-privateassets

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