Having NuGet Packages across multiple projects can be a challenge. Each PackageRefence across csproj files must specify the same version of the NuGet Package.

Two ways to simplify your NuGet PackageReferences in your C# Projects. Use Directory.Build.targets or Directory.Packages.props to keep a common place for specifying the version of a NuGet Package.

Stuart Lang Blog Post: https://stu.dev/managing-package-versions-centrally/

🔔 Subscribe: https://www.youtube.com/channel/UC3RKA4vunFAfrfxiJhPEplw?sub_confirmation=1

💥 Join this channel to get access to source code, demos, and slides!
https://www.youtube.com/channel/UC3RKA4vunFAfrfxiJhPEplw/join

📝 Blog: https://codeopinion.com

📚 Book Recommendations

Domain-Driven Design
https://amzn.to/2QwG8sb

Patterns of Enterprise Application Architecture
https://amzn.to/3d8kMJj

Refactoring: Improving the Design of Existing Code
https://amzn.to/2NVdP5Q

Monolith to Microservices: Evolutionary Patterns to Transform Your Monolith
https://amzn.to/3srUuZ6

RESTful Web Clients: Enabling Reuse Through Hypermedia
https://amzn.to/3d8Q96B

CodeOpinon: https://codeopinion.com
Twitter: https://twitter.com/codeopinion

#nuget #packagereference #solution wide

NuGet PackageReference Versions SOLUTION Wide
1.05 GEEK