Skip to content

Is it possible to build a portable executable? #9332

Answered by chrisglein
Kasea asked this question in Q&A
Discussion options

You must be logged in to vote

RNW apps are UWP apps by default. There are some considerations to that for sure (https://microsoft.github.io/react-native-windows/docs/native-code#win32-desktop-apps-vs-rnw-apps), including the fact that UWP apps aren't single EXEs and have a totally different packaging model.

It's possible to add RNW to a classic Win32 app in an "island". You can find some info on that here: microsoft/react-native-windows-samples#540. There may be additional considerations if you're looking to make a single file EXE with everything bundled together, not sure about that.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@AlbertShown
Comment options

Answer selected by chrisglein
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants