Repository navigation
Address Syncfusion Blazor Toolkit scaffolder review: classification, hosting facts, summary, MSBuild, baselines - #28
Merged
Indhumathy-Loganathan merged 4 commits intoOct 14, 2026
Conversation
…erve escaped builder identifiers, repair failing fixtures Co-authored-by: Indhumathy-Loganathan <[email protected]>
…eal registrations, track real changes per project, single MSBuild registration owner Co-authored-by: Indhumathy-Loganathan <[email protected]>
…ve dead recipe code and stale comments Co-authored-by: Indhumathy-Loganathan <[email protected]>
…lding/dotnet-scaffold/dotnet-scaffold.csproj Co-authored-by: Indhumathy-Loganathan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses review feedback on the Syncfusion Blazor Toolkit scaffolder: naming cleanup, safer Program.cs edits, evaluated MSBuild project classification, accurate hosting/render-mode reporting, per-project summary outcomes, a single MSBuild registration owner, fixed unit fixtures, and real baseline tests for net10/net11.
Changes
Naming and dead code
SyncfusionBlazorToolkitExample/SyncfusionBlazorToolkitExampleDescriptionto match theAreaExampleand Identity/Entra pattern.ExtendedDescription, history-style comments (old JSON recipe narration, "Comment 9/12" markers), and deadBuildResolvedCodeModifierConfigJson.Escaped identifiers
@), while comparisons still use the unescaped name.var @class = ...from becomingclass.Services....@class.Project validation
BlazorProjectClassifier, driven by evaluated MSBuild properties.Microsoft.NET.Sdk.Web; ignores SDK names in comments; does not treatUseMaui=falseas Hybrid; respects imported props; fails explicitly on evaluation failure.Render-mode / hosting guidance
Summary no-op reporting
ServicesInsertedis respected.MSBuild initialization
RegisterDefaults()calls fromProgram.csandCodeService(aligned with base branch) and stale comments.MsBuildInitializerbefore MSBuild (same pattern as other validate steps viaClassAnalyzers.GetProjectInfo) — single owner of SDK selection policy.Failing unit tests
Build()call (safe insertion correctly refused); they now use real hosts.Hosting.csis found and edited;Program.csis never created) — replaced with assertions for that behavior.TargetFrameworkand a Razor component.Baseline tests
ScaffolderBaselineRunnerwith checked-in expected apps underbaselines/BlazorToolkitfor net10.0 and net11.0 (sharedInputs/*/BlazorWebAppas input).nugetConfigsupport becauseSyncfusion.Blazor.Toolkitis on nuget.org (not in the default repo feeds).Test plan
@class) coverage