Commit 665e868
committed
CI: suppress XML doc comment warnings and cosmetic build noise
NumSharp generates ~7,600 noisy build warnings that get picked up by
GitHub Actions' MSBuild problem matcher and displayed as annotations,
drowning out real issues. This adds -p:NoWarn to all build/pack steps
via a centralized DOTNET_NOWARN env var.
Uses %3B (URL-encoded semicolons) because MSBuild CLI treats raw ;
and , as property separators — a known MSBuild quoting issue.
Suppressed warning categories:
XML doc warnings (~7,200 instances — 83% of all warnings):
- CS1570: Badly formed XML in doc comments
- CS1571: Duplicate param tag
- CS1572: Param tag for non-existent parameter
- CS1573: Missing param tag
- CS1574: Unresolvable cref
- CS1587: XML comment not placed on valid element
- CS1591: Missing XML comment on public type/member
- CS1711: Typeparam for non-existent param
- CS1734: Paramref refers to non-existent param
Other cosmetic noise:
- CS8981: Type name only contains lowercase chars (360 instances) —
intentional for NumPy API compatibility (class 'np')
- NU5048: PackageIconUrl deprecated (2 instances)
Preserved warnings (still visible in CI):
- CS0162: Unreachable code (860)
- CS0168/CS0219: Unused variables (128)
- CA1416: Platform compatibility (380)
- CS0109/CS0628/CS0659/CS0661/CS0693: Miscellaneous code issues1 parent 5cb2fa9 commit 665e868
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
63 | | - | |
| 70 | + | |
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| |||
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| 115 | + | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
| |||
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
| 124 | + | |
116 | 125 | | |
117 | 126 | | |
118 | 127 | | |
| |||
127 | 136 | | |
128 | 137 | | |
129 | 138 | | |
| 139 | + | |
130 | 140 | | |
131 | 141 | | |
132 | 142 | | |
| |||
136 | 146 | | |
137 | 147 | | |
138 | 148 | | |
| 149 | + | |
139 | 150 | | |
140 | 151 | | |
141 | 152 | | |
| |||
0 commit comments