Skip to content

ORLEANS0020: OrleansContracts.txt is missing

PropertyValue
CategoryVersioning
SeverityInfo
Code fixAvailable

Contract compatibility analysis is enabled, the project contains tracked Orleans contracts, and the configured OrleansContracts.txt file was not found.

The analyzer has no baseline, so it cannot detect RPC identity, signature, version, or grain-class changes.

Apply Regenerate OrleansContracts.txt to create and populate the complete project manifest. The configured path can be absent; the code fix creates the file and its parent directory. Run regeneration separately for each contract project instead of passing a solution path. Add the generated files to source control and review the baseline using the contract compatibility guidance.

If the project does not need contract tracking, disable the analyzer. Otherwise suppression defeats the project opt-in.

<EnableOrleansContractsAnalyzer>false</EnableOrleansContractsAnalyzer>

See Orleans contract compatibility analyzer.