microsoft / microsoft/react-native-windows
VS upgrades can break run-windows builds
Open
Nobody has claimed this yet.
Area: Build Infrastructure
Area: CLI
Area: Developer Experience
bug
Workstream: ES Compliance SFI
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
- build with run-windows
- upgrade VS to a newer version
- try building with run-windows again
The PCHs are from a different version, which breaks the build:
"Fatal error C1853: precompiled header is from a different version of the compiler"

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure by building with run-windows, upgrading Visual Studio, and building again. Inspect the run-windows build configuration and precompiled-header handling; done means the build succeeds after a Visual Studio upgrade without the C1853 compiler-version error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, react-native
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100