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

For RNW >= 0.68, the CLI should throw a warning if the app is still using packages.config

Open jonthysell opened this issue 4 years ago • 4 comments

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

jonthysell avatar Feb 18 '22 00:02 jonthysell

@JunielKatarn, FYI because this concerns the PackageReference work.

jonthysell avatar Feb 22 '22 23:02 jonthysell

Noted. I'll be addressing all PackageReference integration issues this week.

JunielKatarn avatar Feb 23 '22 01:02 JunielKatarn

@JunielKatarn - this is still tagged for the 0.68 release. Given that 0.68 is out at this point, are you planning to backport the change or submit to a newer release?

Khalef1 avatar Apr 08 '22 19:04 Khalef1

Backport, if approved.

JunielKatarn avatar Apr 08 '22 23:04 JunielKatarn