<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Panthangi Panthangi</title>
    <description>The latest articles on DEV Community by Panthangi Panthangi (@panthangi_956).</description>
    <link>https://dev.to/panthangi_956</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1569389%2Fde33de5e-c8bf-4b93-a42d-12d04e9c573b.png</url>
      <title>DEV Community: Panthangi Panthangi</title>
      <link>https://dev.to/panthangi_956</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/panthangi_956"/>
    <language>en</language>
    <item>
      <title>✨ (CPM) Central Package Management in .NET</title>
      <dc:creator>Panthangi Panthangi</dc:creator>
      <pubDate>Thu, 22 Aug 2024 16:25:14 +0000</pubDate>
      <link>https://dev.to/panthangi_956/cpm-central-package-management-in-net-1m78</link>
      <guid>https://dev.to/panthangi_956/cpm-central-package-management-in-net-1m78</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffqg1jzs219dq37aglegt.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffqg1jzs219dq37aglegt.jpg" alt="Image description" width="800" height="1035"&gt;&lt;/a&gt;✨*&lt;em&gt;Streamline Your Dependencies with Central Package Management in .NET *&lt;/em&gt;!&lt;/p&gt;

&lt;p&gt;Tired of managing NuGet package versions in every project?&lt;br&gt;
Central Package Management (CPM) in NuGet 6.2 offers a centralized solution to simplify your life!&lt;/p&gt;

&lt;p&gt;🔧 Central Package Management (CPM) support in .NET was introduced starting with .NET 5.0. CPM allows you to manage NuGet package versions centrally across multiple projects, reducing the need to specify versions in each individual project file. This is particularly useful for ensuring consistency and simplifying version management.&lt;/p&gt;

&lt;p&gt;Benefits:&lt;/p&gt;

&lt;p&gt;Reduced Redundancy: Define package versions once in a central Directory.Packages.props file. No more repetitive work!&lt;/p&gt;

&lt;p&gt;Improved Consistency: Ensure all projects use the same versions for better compatibility. Consistency is key!&lt;/p&gt;

&lt;p&gt;Simplified Updates: Update versions centrally for automatic changes throughout your solution. Save precious time!&lt;/p&gt;

&lt;p&gt;Enhanced Maintainability: Manage dependencies in a single location for cleaner and easier-to-maintain codebases. Keep your code organized!&lt;/p&gt;

&lt;p&gt;How it Works:&lt;/p&gt;

&lt;p&gt;Create a Central Hub: Create a file named Directory.Packages.props at the root of your solution.&lt;/p&gt;

&lt;p&gt;Define Package Versions: Within this file, use  elements to specify package IDs and desired versions.&lt;/p&gt;

&lt;p&gt;Update Project Files: Modify  elements in your project files to omit the Version attribute. The versions will be automatically pulled from the central configuration.&lt;/p&gt;

&lt;p&gt;P.S. We'll add a link to the official Microsoft documentation on CPM in the below those who want to explore further!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://lnkd.in/gR2TaZ_J" rel="noopener noreferrer"&gt;https://lnkd.in/gR2TaZ_J&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💬Have you tried CPM in your projects? Share your experiences and tips in the comments below!&lt;/p&gt;

</description>
      <category>dotnetcore</category>
      <category>vscode</category>
      <category>dotnetframework</category>
      <category>csharp</category>
    </item>
  </channel>
</rss>
