ORLEANS0020: OrleansContracts.txt is missing
| Property | Value |
|---|---|
| Category | Versioning |
| Severity | Info |
| Code fix | Available |
Contract compatibility analysis is enabled, the project contains tracked Orleans contracts, and the configured OrleansContracts.txt file was not found.
Impact
Section titled “Impact”The analyzer has no baseline, so it cannot detect RPC identity, signature, version, or grain-class changes.
How to fix
Section titled “How to fix”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.
Suppress the diagnostic
Section titled “Suppress the diagnostic”If the project does not need contract tracking, disable the analyzer. Otherwise suppression defeats the project opt-in.
<EnableOrleansContractsAnalyzer>false</EnableOrleansContractsAnalyzer>