microsoft / microsoft/react-native-windows
For RNW >= 0.68, the CLI should throw a warning if the app is still using packages.config
@JunielKatarn is already working on this.
Since Feb 23, 2022.
- Dominant language
- C++
- Stars
- 17.3k
- Forks
- 1.2k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 33
Description
Summary
If someone runs any of our CLI commands, we should detect if the app is using packages.config, and throw a warning that we're moving to PackageReferences, with a link to relevant upgrade documentation
Motivation
With the move to PackageReference, we want to reduce our support of packages.config files. We should start warning people of our intentions, and point to documentation on how they upgrade/fix their app projects.
We shouldn't error outright, as we expect modules to lag in making this upgrade, and our guidance plan is to keep a packages.config to load the modules's nugets, as per the docs here: https://github.com/microsoft/react-native-windows-samples/pull/628
Basic Example
No response
Open Questions
No response
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.
Assessment
This issue has not been assessed yet.