PSA: Package management is better without packages.config

RupertRawnsleyRupertRawnsley GBMember ✭✭✭

You can ditch packages.config and store the package references in the project file directly by following these instructions.

There are several advantages to this approach:

  1. Dependent packages are installed implicitly rather than cluttering up the package list
  2. Launching from the IDE is faster if the project is already built
  3. Full compatibility with Visual Studio for Windows
  4. Library dependencies propagate automatically to executables (no need to explicitly include them in the final APK or APP files)

I am not aware of any disadvantages at this time, but suggestions are welcome. There may be some reason that this project setting remains hidden.

Sign In or Register to comment.