Skip to content

Replace slngen with a PowerShell generated .slnx solution - #321

Merged
Sergio0694 merged 1 commit into
mainfrom
sergio0694-replace-slngen-with-slnx-script
Dec 3, 2026
Merged

Sergio0694 merged 1 commit into
mainfrom
sergio0694-replace-slngen-with-slnx-script

Conversation

@Sergio0694

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 8b5441e614a8dbbb5661ce7aaf69878f6e86737e

Dimension Assessment Rationale
Change confidence 8/10 ↑ Generated .slnx builds with MSBuild (Release) for UWP/WinUI 2 and WinAppSdk + WASM/WinUI 3; GenerateAllSolution verified under pwsh 7, single flow under Windows PowerShell 5.1.
↑ Independent Opus 5.5 review found no issues in this repo.
↓ Not run on Linux or in CI; Visual Studio UI behavior not checked.
↓ Consumer repos (Windows, Labs-Windows) still reference .sln and need matching changes.

Stacked on #320.

Removes the SlnGen dependency and replaces it with GenerateSolutionFile.ps1, which writes a .slnx for the Toolkit component layout. GenerateSingleSolution.ps1 and GenerateAllSolution.ps1 now use it.

  • Generates solution folders, Any CPU/x64/x86/ARM64 platforms (Windows projects mapped to a specific platform), deployable heads and a "Solution Items" folder.
  • Removes SlnGenSolutionItem/SlnGenIsDeployable, the slngen tool entry, and unneeded dotnet tool restore CI steps; CI and docs use .slnx.
  • -UseDiagnostics now prints the generated file; -Launch is added to the single-solution scripts (Windows only).
  • New opt-in -IncludeReferencedProjects adds referenced projects (slow, needs MSBuild evaluation).

Notes: App.Shared/Tests.Shared are now included in the solution. Consumer repos need to switch to .slnx in CI and .gitignore when bumping the submodule.

@Sergio0694
Sergio0694 added this pull request to stack #322 December 1, 2026 05:24
@Sergio0694
Sergio0694 force-pushed the sergio0694-replace-slngen-with-slnx-script branch 2 times, most recently from 5df93f2 to 8840e60 Compare December 2, 2026 18:41
@Sergio0694
Sergio0694 marked this pull request as ready for review December 2, 2026 19:14
Base automatically changed from sergio0694-remove-legacy-uwp to main December 3, 2026 21:01
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sergio0694
Sergio0694 force-pushed the sergio0694-replace-slngen-with-slnx-script branch from 8840e60 to b2de158 Compare December 3, 2026 21:01
@Sergio0694
Sergio0694 merged commit 95e4000 into main Dec 3, 2026
9 checks passed
@Sergio0694
Sergio0694 deleted the sergio0694-replace-slngen-with-slnx-script branch December 3, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant