Skip to content

Fix FileSaveDialog COM interop cast failure#4490

Merged
Marc-André Moreau (mamoreau-devolutions) merged 1 commit intomainfrom
fix-package-bundle
Mar 17, 2026
Merged

Fix FileSaveDialog COM interop cast failure#4490
Marc-André Moreau (mamoreau-devolutions) merged 1 commit intomainfrom
fix-package-bundle

Conversation

@mamoreau-devolutions

Summary

  • fix COM interop definition for IFileSaveDialog
  • add missing ComImport/Guid/InterfaceType attributes
  • remove incorrect open-dialog members from IFileSaveDialog

Problem

Creating a package bundle failed with an invalid cast when instantiating FileSaveDialog RCW.

Validation

  • built ExternalLibraries.FilePickers successfully
  • built UniGetUI with RuntimeIdentifier=win-x64 and Platform=x64 successfully
  • manually validated bundle creation flow opens save dialog without the cast error

@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) merged commit 3f960a0 into main Mar 17, 2026
1 of 3 checks passed
@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) deleted the fix-package-bundle branch March 17, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants