microsoft / microsoft/react-native-windows

Allow AppxBundle to be customised in msbuildprops

Open
#14,122 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Build Infrastructure enhancement
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Summary

Because of the hard-coded AppxBundle=Never option, you cannot override it with the msbuildprops property.

https://github.com/microsoft/react-native-windows/blob/main/packages/%40react-native-windows/cli/src/utils/msbuildtools.ts#L112

Ideally this reads the msbuildprops option before setting a default.

Motivation

Generating an .appxbundle still has some use cases. Currently this requires a package to the library

Basic Example

No response

Open Questions

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in packages/@react-native-windows/cli/src/utils/msbuildtools.ts around line 112 and inspect how the msbuildprops option is handled. Ensure the provided AppxBundle value is respected before a default is assigned; done means callers can customize AppxBundle and still use the existing packaging flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
build-system, cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.