Skip to main content
Source: AL0017HardcodedPackageVersionAnalyzer.cs

Description

Package versions should use MSBuild variables from Version.props for centralized version management. This ensures consistency across all projects and simplifies version updates.

Bad Code

Good Code

Properties

  • Category: VersionManagement
  • Severity: Warning
  • Enabled by default: True
  • Code fix available: False

Configuration