Commit Graph

4 Commits

Author SHA1 Message Date
Atanas Korchev
5cd64c8ac9 Stop embedding sources/PDB in shipped WASM assemblies
Set EmbedAllSources=false and DebugType=portable in the root
Directory.Build.props so the demo and API-reference assemblies no longer
carry an embedded PDB containing full source. The embedded source is
deflate-compressed, so Brotli cannot reclaim it - it was inflating
RadzenBlazorDemos.wasm from ~1.3MB to ~4.2MB Brotli (and the lazy API
bundle similarly).

The packable Radzen.Blazor library is unaffected: it is governed by
Radzen.Blazor/Directory.Build.props and still ships embedded sources in
its .snupkg for consumer step-into-source debugging.
2026-06-22 13:17:34 +03:00
Atanas Korchev
41e0f9944a Enforce csharp_prefer_braces at error severity
Adds braces to all single-statement if/else/for/foreach/while bodies in
Radzen.Blazor. Flipping the rule to error in .editorconfig and enabling
EnforceCodeStyleInBuild prevents future regressions.

Fixes generated mechanically via `dotnet format style --diagnostics IDE0011`.
The accompanying using-directive sort was reverted to keep this PR
braces-only.
2026-06-15 18:45:13 +03:00
Vladimir Enchev
40e15a0720 Symbols package fixed 2026-01-08 10:48:34 +02:00
Vladimir Enchev
0696cd20d5 Various warnings resolved and TreatWarningsAsErrors enabled (#2409) 2026-01-07 09:29:58 +02:00