Skip to main content
Source: Al0019UndefinedVersionVariableAnalyzer.cs

Description

Version variable referenced in Directory.Packages.props is not defined in Version.props. This causes build failures or unexpected fallback behavior when CPM cannot resolve the variable.

Bad Code

Good Code

Properties

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

Configuration