Commit d238dee
Add Directory.Build.props to suppress WFO1000 in CI
The per-project .editorconfig files (Crystallography.Controls, Crystallography.OpenGL)
set dotnet_diagnostic.WFO1000.severity = silent, but they are physically owned by the
sibling repos reached through NTFS junctions and are NOT tracked by the ReciPro repo
(this clone additionally excludes them via .git/info/exclude). So a clean GitHub Actions
checkout has no .editorconfig, WFO1000 reverts to its default error severity, and any
public property lacking [DesignerSerializationVisibility]/[DefaultValue] breaks the
release build (as FormBase.HelpPage just did).
Add a tracked root Directory.Build.props with <NoWarn>$(NoWarn);WFO1000</NoWarn> so CI
matches local behavior. This is scoped to ReciPro builds (sibling repos resolve their own
Directory.Build.props). NoWarn:WFO1000 is already proven effective in CI via ReciPro.csproj.
Per-property [DesignerSerializationVisibility] attributes (260322Ch) remain the preferred
practice; this is a safety net against a missing attribute breaking CI, not a replacement.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 890d81c commit d238dee
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
0 commit comments