Works on: 23.7 (9b50d73c) · Breaks on: 23.8 (29516700)
SUMMARY
After upgrading our local toolset from 23.7 to 23.8 and rebuilding the same project (only change to the .aip was the DOCUMENT version attribute), our packaged app crashes whenever it opens any Windows shell file dialog (OpenFileDialog / SaveFileDialog / IFileDialog) — Open / Browse / Import / Export. Crash happens before the picker appears.
- Crash: System.ExecutionEngineException, no managed stack / no inner exception (native fault in an injected shim, not app code).
- Reproduces only from the normal installed (non-development) MSIX.
- Does not reproduce in loose/dev mode, local build, or under the debugger — even with identical local binaries + symbols. Points at the packaged PSF runtime.
Byte-comparison of the 23.7-built (working) vs 23.8-built (crashing) package. Same 1452 files, none added/removed:
- config.json — byte-identical
- FileRedirectionFixup64.dll — byte-identical
- FileRedirectionFixup32.dll, PsfRunDll32/64.exe, PsfRuntime32.dll — byte-identical
- PsfRuntime64.dll — CHANGED (the only PSF file that differs)
OUR PSF CONFIG (unchanged both builds): FileRedirectionFixup injected into .* (all processes), UseFromSafeRedirection for Fonts + two SystemX86 folders.
NOTE: Not mentioned in the 23.8 Release Notes or MSIX Changelog — appears to be an undocumented PSF runtime update.
QUESTIONS:
- Known regression in the 23.8 PsfRuntime64.dll for 64-bit shell/common file dialogs with FileRedirectionFixup injected into all processes?
- Hotfix available/expected for the 23.8 PSF runtime?
- Supported way to pin/override the bundled PSF runtime (force 23.7's PsfRuntime64.dll) for an MSIX build, instead of rolling back the whole toolset?
FOLLOW US
Get the latest news in Application Packaging