Suppose I have a solution with 3 projects:
Some of the NuGet packages I use will apply to all 3 projects. Some will just apply to UI and Tests, and some will just apply to Tests (like NUnit).
What is the right way to set this up using NuGet?
- Should I use "Add Library Package Reference" on all three projects any time I need a reference?
- Should I use "Add Library Package Reference" the first time I need a package, and then use Add Reference->Browse for subsequent usages?
In either case, how many packages.config files should I have?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…