Skip to content

Fix C# single-file manifest packaging#292

Merged
enaboapps merged 1 commit into
mainfrom
fix/dotnet-manifest-bundle-291
Jun 30, 2026
Merged

Fix C# single-file manifest packaging#292
enaboapps merged 1 commit into
mainfrom
fix/dotnet-manifest-bundle-291

Conversation

@enaboapps

Copy link
Copy Markdown
Contributor

Summary

  • embed the uiAccess manifest through the C# app project build
  • stop rewriting the published single-file .NET executable with mt.exe
  • prevent signed Program Files builds from crashing with bundle corruption

Closes #291.

Validation

  • dotnet restore src/SwitchifyPc.sln
  • dotnet build src/SwitchifyPc.sln -c Release --no-restore
  • dotnet test src/SwitchifyPc.sln -c Release --no-build
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts\Package-Windows.ps1 -StageOnly -SkipSign
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts\Verify-DotnetPackage.ps1
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts\Package-Windows.ps1
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts\Verify-UpdaterMetadata.ps1
  • installed C:\Program Files\Switchify PC\Switchify PC.exe signature is Valid
  • installed app launched and remained running

@enaboapps enaboapps added this to the Release 0.2.0 milestone Jun 30, 2026
@enaboapps enaboapps merged commit 9fc0db0 into main Jun 30, 2026
1 check passed
@enaboapps enaboapps deleted the fix/dotnet-manifest-bundle-291 branch June 30, 2026 10:55
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.

Fix C# single-file manifest packaging

2 participants