react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Release builds of Fabric should bundle

Open chrisglein opened this issue 2 years ago • 3 comments
trafficstars

Related to this: https://github.com/microsoft/react-native-windows/issues/8116

I'm no expert on non-UWP packaged apps, but there's definitely intersection here as to where the bundle goes. One option is to embed it as a classic Win32 embedded resource, which we support (resource:// according to the docs).

The resource would need to be populated by part of the build process, which has been explored before here to create a generated RC file that is then imported here.

chrisglein avatar May 05 '23 01:05 chrisglein

Next step: replicate the steps applied to the Win32 console app to embed the resource and see if that can be applied to the eventual template app.

chrisglein avatar May 08 '23 17:05 chrisglein

This has been implemented. But when running as a fully published store app it fails with this error: [0x80070057] The specified path (UNABLE_TO_MASK_PATH) is too long. It exceeds the maximum length of -202377800.

chrisglein avatar Nov 06 '23 16:11 chrisglein

Verified working as of canary 776 in this PR: https://github.com/chrisglein/artificial-chat/pull/137

chrisglein avatar Feb 27 '24 00:02 chrisglein