Skip to content

ORLEANS0017: Grain interface version mismatch

PropertyValue
CategoryVersioning
SeverityWarning
Code fixAvailable

The interface’s [Version] value differs from the version recorded in OrleansContracts.txt. An interface without [Version] has version 0.

The manifest no longer describes the numeric version used by runtime compatibility and routing decisions. A version number change also does not make an incompatible method or payload change compatible by itself.

Determine whether the source or manifest changed unintentionally. Restore the previous source version, or review the rolling-upgrade implications and apply Update version in OrleansContracts.txt when the new version is intentional.

Apply Regenerate OrleansContracts.txt to rebuild the complete project manifest. Run regeneration separately for each contract project and review the generated diff using the contract compatibility guidance.

Use suppression only during a short-lived staged edit. Do not release with a source and manifest version mismatch.

[*.cs]
dotnet_diagnostic.ORLEANS0017.severity = none

See Deploy new grain versions.