Skip to content

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

Open
Sergio0694 wants to merge 1 commit into
sergio0694-remove-legacy-uwpfrom
sergio0694-replace-slngen-with-slnx-script
Open

Sergio0694 wants to merge 1 commit into
sergio0694-remove-legacy-uwpfrom
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.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@Sergio0694
Sergio0694 force-pushed the sergio0694-replace-slngen-with-slnx-script branch 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
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