<?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: jokoyoski</title>
    <description>The latest articles on DEV Community by jokoyoski (@jokoyoski).</description>
    <link>https://dev.to/jokoyoski</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F317794%2F52378f6d-117d-4028-bc9f-7e041861ccd0.png</url>
      <title>DEV Community: jokoyoski</title>
      <link>https://dev.to/jokoyoski</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jokoyoski"/>
    <language>en</language>
    <item>
      <title>Generating a nuget package and use locally for .Net developers</title>
      <dc:creator>jokoyoski</dc:creator>
      <pubDate>Wed, 15 Jan 2020 07:29:50 +0000</pubDate>
      <link>https://dev.to/jokoyoski/generating-a-nuget-package-and-use-locally-for-net-developers-4el5</link>
      <guid>https://dev.to/jokoyoski/generating-a-nuget-package-and-use-locally-for-net-developers-4el5</guid>
      <description>&lt;p&gt;What is a Nuget Package ?&lt;br&gt;
NuGet is a free and open-source package manager designed for the Microsoft development platform (formerly known as NuPack). Since its introduction in 2010, NuGet has evolved into a larger ecosystem of tools and services.&lt;br&gt;
NuGet is distributed as a Visual Studio extension. Starting with Visual Studio 2012, NuGet comes pre-installed by default. NuGet is also integrated with SharpDevelop. NuGet can also be used from the command line and automated with scripts.&lt;br&gt;
It supports multiple programming languages, including:&lt;br&gt;
· .NET Framework packages&lt;br&gt;
· Native packages written in C++, with package creation aided by CoApp&lt;br&gt;
Generating a nuget package takes a simple steps.&lt;br&gt;
Step 1. Right-click on your project and go to properties , select the package tab. Fill in the necessary information about the nuget package you are trying to create&lt;br&gt;
Step 2: Change your project from Debug to Release. Then right-click on the project and select “Pack”. This build the project and a “.nupkg” extension file is been generated, To get the file, Open file explorer and navigate to your project, then navigate to bin&amp;gt;Release. &lt;br&gt;
To add the nuget package to your local repo, you must first install package console CLI . Use the following Command line to install&lt;br&gt;
“Install-Package NuGet.commandline”&lt;br&gt;
Step 3. Create a folder which you have an access to and drop the nupkg file in the folder . Let us say the name of our nupkg is “FileA.1.0.0.nugpkg” Then use the following command to add the nuget package in the nuget repo . &lt;br&gt;
PM &amp;gt;nuget add “FileA.1.0.0.nugpkg -source C:\Users\Kafka&lt;br&gt;
where “C:\Users\Kafka” is the folder where our nupkg is&lt;br&gt;
The above command add the nuget to our local repo . To remove the nuget from our local repo we use the following command &lt;br&gt;
PM &amp;gt;nuget remove “FileA.1.0.0.nugpkg -source C:\Users\Kafka&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
