{"id":2855,"date":"2021-01-07T10:08:50","date_gmt":"2021-01-07T10:08:50","guid":{"rendered":"https:\/\/serkanseker.com\/?p=2855"},"modified":"2021-02-22T07:32:07","modified_gmt":"2021-02-22T07:32:07","slug":"install-and-manage-nuget-packages","status":"publish","type":"post","link":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/","title":{"rendered":"Install and Manage NuGet Packages"},"content":{"rendered":"\n<p>With the importance of code sharing, Microsoft&#8217;s Visual Studio also created its own sharing platform: <strong>NuGet<\/strong>. <strong>NuGet Package Manager<\/strong>, which is directly integrated into Visual Studio, has offered the code packages of 3rd parties and institutions published on <a href=\"https:\/\/www.nuget.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">nuget.org<\/a> to the service of developers. Also completely free.<\/p>\n\n\n\n<p>The platform has become an indispensable part of Visual Studio with the developers&#8217; package sharing. So much so that, instead of adding dlls to your newly created projects, Microsoft has switched to a new structure that provides the package information to be downloaded and allows the dll and files to be downloaded by NuGet Package Manager.<\/p>\n\n\n\n<p>In this post, I will first show you how to install, delete, update and clean cache using NuGet Package Manager. Then I will apply the same operations with commands in Package Manager Console. And finally I will explain you how to upload the <strong>.nupkg<\/strong> file in the local directory to the project offline. At the end of this article, you will be able to use NuGet packages in your Visual Studio projects.<\/p>\n\n\n\n<p>So let\u2019s started. Follow the steps below in order.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is NuGet?<\/h2>\n\n\n\n<p>By definition, NuGet is a code sharing mechanism for .NET powered by Microfost. Allows adding, updating and removing libraries to Visual Studio applications.<\/p>\n\n\n\n<p>The NuGet package is a single ZIP file with the extension .nupkg. It contains compiled source code (DLLs) and other related files (scripts, images, package version number). Developers create packages and publish them on a host computer. Package consumers then take these packages from the host computer and add them to their projects. And they call the functionality of a package in their project.<\/p>\n\n\n\n<p>Tell me to explain. You cannot use any third party library directly in your project. First you need to extract the package as a zip file and add the necessary assemblies to the references and files. If updating is required, you have to repeat these processes manually. Fortunately, NuGet does all these things automatically. Using NuGet to install packages reduces the process of configuring these third-party libraries.<\/p>\n\n\n\n<p><strong>I recommend you to review my article where I listed the <a href=\"https:\/\/serkanseker.com\/xamarin-top-5-useful-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">best NuGet packages<\/a>. I explained how to use each package with examples.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Packages Using NuGet Package Manager<\/h2>\n\n\n\n<p>The NuGet Package Manager in Visual studio enables installing, uninstalling and updating NuGet packages in projects and solutions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install a third-party NuGet package<\/h3>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span>  In the solution explorer, right-click on Solution, a project, or Reference. Then choose <strong>Manage NuGet Packages<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Manage-NuGet-Packages.png\" alt=\"Manage NuGet Packages\" class=\"wp-image-3013\"\/><figcaption>Manage NuGet Packages<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">2<\/span> In the window that opens, go to the <strong>Browse <\/strong>tab. Then type and search for the plugin you want to install in the search bar. Your search results will appear in order according to the number of downloads. Because the Browse tab sorts packages according to their popularity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Select-Package-and-Version.png\" alt=\"Select Package and Version\" class=\"wp-image-3015\"\/><figcaption>Select Package and Version<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">3<\/span> Select the version you want to install from the drop-down menu on the right. And then click <strong>Install<\/strong>. At this step, if prompted to accept the License terms, accept them. Also, after installing some plugins, a readme.txt file is opened. Within this file you can find the necessary instructions to start the plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install beta NuGet packages<\/h3>\n\n\n\n<p>By default, beta versions do not appear in search results. Only stable versions come out. Select Include prerelease next to the search bar to include beta versions in your search.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Include-Prerelease-NuGet-Packages.png\" alt=\"Include Prerelease NuGet Packages\" class=\"wp-image-3016\"\/><figcaption>Include Prerelease NuGet Packages<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><br>Uninstall a NuGet package<\/h3>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span> In the solution explorer, right-click on Solution, a project or Reference. Then choose <strong>Manage NuGet Packages<\/strong>.<br><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">2<\/span> Then go to the <strong>Insalled <\/strong>tab. Here are the packages installed in your project.<br><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">3<\/span> Select the package you want to uninstall and click <strong>Uninstall<\/strong>. You can find the plugin you want to remove from the search bar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Uninstall-NuGet-Package.png\" alt=\"Uninstall a NuGet Package\" class=\"wp-image-3017\"\/><figcaption>Uninstall a NuGet Package<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Update NuGet packages<\/h3>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span> In the solution explorer, right-click on Solution, a project or Reference. Then choose <strong>Manage NuGet Packages<\/strong>.<br><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">2<\/span> Then go to the <strong>Updates <\/strong>tab. Here are the packages that need to be updated. If you want to update prerelease package versions as well, select the Include pre-release check box.<br><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">3<\/span> You can update packages either in a single package or in bulk. If you want to update a specific package, select the package and select the desired version from the drop-down menu on the right, then click <strong>Update<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Update-NuGet-Packages.png\" alt=\"Update NuGet Packages\" class=\"wp-image-3018\"\/><figcaption>Update NuGet Packages<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">4<\/span> If you want to update all packages collectively, select the <strong>Select all packages<\/strong> check box. Then click the <strong>Update <\/strong>button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Update-All-Packages.png\" alt=\"Update All Packages\" class=\"wp-image-3019\"\/><figcaption>Update All Packages<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Restore NuGet packages<\/h3>\n\n\n\n<p>Package restore installs all of a project&#8217;s dependencies as required. All NuGet packages added are restored when the project is opened or compiled.<\/p>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span> Go to <strong>Tools&gt; Options&gt; NuGet Package Manager&gt; General<\/strong>. Then select the <strong>Allow NuGet to download missing packages<\/strong> and A<strong>utomatically check for missing packages during build in Visual Studio<\/strong> checkboxes in Package Restore. These options are already active by default.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Package-Restore.png\" alt=\"Package Restore\" class=\"wp-image-3020\"\/><figcaption>Package Restore<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">2<\/span> Then right click on the project in Solution explorer and select <strong>Restore NuGet Packages<\/strong>. Thus, NuGet packages in the project will be repaired.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Restore-NuGet-Packages.png\" alt=\"Restore NuGet Packages\" class=\"wp-image-3021\"\/><figcaption>Restore NuGet Packages<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Clear NuGet packages<\/h2>\n\n\n\n<p>NuGet packages are loaded from the cache location, if any. Otherwise it will be downloaded from the corresponding stream in the cache location. Sometimes you run into package installation problems or you want to make sure you have installed packages that you installed yourself. In such cases, you should remove the cache. To remove NuGet caches from the cache location, you must clear the NuGet packages.<\/p>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span> Go to <strong>Tools&gt; Options&gt; NuGet Package Manager&gt; General<\/strong>. And then click <strong>Clear All NuGet Cache(s)<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Clear-All-NuGet-Cache.png\" alt=\"Clear All NuGet Cache\" class=\"wp-image-3022\"\/><figcaption>Clear All NuGet Cache<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Package Manager Console<\/h2>\n\n\n\n<p>As an alternative to Nuget Package Manager, you can install packages to projects with the Nuget Package Manager Console. NuGet Package Manager Console installs, deletes, repairs and updates packages using NuGet PowerShell commands. NuGet Package Manager Console is built into Visual Studio on Windows.<\/p>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span> To open the NuGet Package Manager Console in Visual Studio, go to <strong>Tools&gt; NuGet Package Manager&gt; Package Manager Console<\/strong>.<\/p>\n\n\n\n<p>NOTE: By default, <a href=\"https:\/\/www.nuget.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">nuget.org<\/a> is selected as Package source. If you want to install a package from another source, change the package source from the drop-down menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Package-Manager-Console-Source-1024x236.png\" alt=\"Package Manager Console Source\" class=\"wp-image-3023\"\/><figcaption>Package Manager Console Source<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Install a NuGet Package<\/h3>\n\n\n\n<p>Enter the commands you will type in accordance with the template below into the NuGet Package Manager Console. You can find the commands of the packages you want to install on <a href=\"https:\/\/www.nuget.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">nuget.org<\/a>.<\/p>\n\n\n\n<p><strong>Install-Package &lt;Package Name&gt; -Version &lt;version&gt;<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Install-Package Newtonsoft.Json -Version 12.0.3<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install a beta NuGet package<\/h3>\n\n\n\n<p>If you want to install a beta pack, add IncludePrerelease to the command. So you can install beta packages, if available.<\/p>\n\n\n\n<p><strong>Install-Package &lt;Package Name&gt; -Version &lt;version&gt;&nbsp;-IncludePrerelease<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Install-Package Newtonsoft.Json -Version 12.0.3 -IncludePrerelease<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Install a NuGet package without dependencies<\/strong><\/h3>\n\n\n\n<p>If you want to install a package without dependencies, add IgnoreDependencies to the command.<\/p>\n\n\n\n<p><strong>Install-Package &lt;Package Name&gt; -Version &lt;version&gt;&nbsp;-IgnoreDependencies<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Install-Package Newtonsoft.Json -Version 12.0.3 -IncludePrerelease -IgnoreDependencies<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Uninstall a NuGet package<\/h3>\n\n\n\n<p>To delete a package, enter the commands you will type in the NuGet Package Manager Console in accordance with the template below.<\/p>\n\n\n\n<p><strong>Uninstall-Package &lt;Package Name&gt;<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Uninstall-Package Newtonsoft.Json<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Remove dependencies when uninstalling a NuGet package<\/h3>\n\n\n\n<p>If you want to remove the dependencies of the installed package, add RemoveDependencies to the command.<\/p>\n\n\n\n<p><strong>Uninstall-Package &lt;Package Name&gt; -Version &lt;Version&gt; -RemoveDependencies<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Uninstall-Package Newtonsoft.Json -RemoveDependencies<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Update NuGet packages<\/h3>\n\n\n\n<p>To update a package, enter the commands you will type in the NuGet Package Manager Console in accordance with the template below. You can upgrade or downgrade to the version you want.<\/p>\n\n\n\n<p><strong>Update-Package [Package Name] &lt;string&gt; [-Version] &lt;string&gt; [-IgnoreDependencies]<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Update-Package Newtonsoft.Json -Version 12.0.3 -IncludePrerelease -IgnoreDependencies<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Update beta NuGet packages<\/h3>\n\n\n\n<p>To update a beta package, enter the commands you will type in the NuGet Package Manager Console in accordance with the template below. You can upgrade or downgrade to the version you want.<\/p>\n\n\n\n<p><strong>Update-Package [Package Name] &lt;string&gt; [-Version] &lt;string&gt; [-IgnoreDependencies] [-IncludePrerelease]<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Update-Package Newtonsoft.Json -Version 12.0.3 -IncludePrerelease -IgnoreDependencies -IncludePrerelease<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Reinstalling NuGet Packages with the Package Manager Console<\/h3>\n\n\n\n<p>To reinstall the packages, enter the commands you will type in the <strong>NuGet Package Manager Console<\/strong> in accordance with the template below. So you can reinstall all packages with the latest version.<\/p>\n\n\n\n<p><strong>Update-Package -Reinstall<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Update-Package -Reinstall\n<\/code><\/pre>\n\n\n\n<p>If you want to reinstall all packages with the same version, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Update-Package -ProjectName \u2018{application name}\u2019 -Reinstall\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to Upload .nupkg File in Local Directory Offline?<\/h2>\n\n\n\n<p>Although it is not preferred very often, it may be necessary to upload a package in .nupkg format to the project. Packages are downloaded to the local directory to be used when there is generally no internet connection. Sometimes, this method is used when it is necessary to use a package that is not included in nuget.org.<\/p>\n\n\n\n<p>As an example, let&#8217;s download a package from nuget.org and then install this package in the local folder to the project without using Package Manager or Console. This method also works for packages you download from outside nuget.org. It&#8217;s like a package you download from GitHub. Also, no internet connection is required.<\/p>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">1<\/span> Search and find the package you want to download from nuget.org. And click on <strong>Download Package<\/strong> from the <strong>Info <\/strong>section.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Download-.nupkg-File-1024x425.png\" alt=\"Download .nupkg File\" class=\"wp-image-3024\"\/><figcaption>Download .nupkg File<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">2<\/span> Then go to <strong>Tools&gt; NuGet Package Manager&gt; Package Manager Settings<\/strong> in Visual Studio.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Package-Manager-Settings.png\" alt=\"Package Manager Settings\" class=\"wp-image-3025\"\/><figcaption>Package Manager Settings<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">3<\/span> In the <strong>Options <\/strong>window that opens, you will see the package sources available under <strong>Package Sources<\/strong>. Here you have to add a new package source. The name of the new package source is up to you. Select the directory with the .nupkg package you downloaded as source. Then click the plus button and add the new package source.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Add-Package-Sources.png\" alt=\"Add Package Sources\" class=\"wp-image-3026\"\/><figcaption>Add Package Sources<\/figcaption><\/figure>\n\n\n\n<p><span style=\"color: var(--nv-primary-accent);background-color: var(--nv-light-bg)\" class=\"ugb-highlight\">4<\/span> Now go to Nuget Package Manager. To do this, right click on the project and select <strong>Manage NuGet Packages<\/strong>. Package source here is nuget.org by default. However, since we want to install from the package source we added, we have to change the package source from the popup window. When you change the package source, only packages with .nupkg extension in the folder we selected will appear. Select the package and platforms you want to install here and click Install.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/serkanseker.com\/wp-content\/uploads\/2021\/01\/Install-Offline-NuGet-Packages.png\" alt=\"Install Offline NuGet Packages\" class=\"wp-image-3027\"\/><figcaption>Install Offline NuGet Packages<\/figcaption><\/figure>\n\n\n\n<p>That&#8217;s all<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conlusions<\/h2>\n\n\n\n<p>In summary, NuGet packages make the job of software developers much easier. Instead of manually adding third party packages to references and files, it is possible to do all the operations automatically with Nuget.<\/p>\n\n\n\n<p>In this post, I first showed you how to install, delete, update and cache using NuGet Package Manager. Then I applied the same operations with commands in Package Manager Console. And finally I explained you how to upload the .nupkg file in the local directory to the project offline. I hope it was useful.<\/p>\n\n\n\n<p>If you\u2019re still not sure what to do, or if you got any errors, then I suggest you use the comment section below and let me know! I am here to help!<\/p>\n\n\n\n<p><strong>Also, share this blog post on social media and help more people learn.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the importance of code sharing, Microsoft&#8217;s Visual Studio also created its own sharing platform: NuGet. NuGet Package Manager, which is directly integrated into Visual Studio, has offered the code packages of 3rd parties and institutions published on nuget.org to the service of developers. Also completely free.<\/p>\n","protected":false},"author":1,"featured_media":234,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[572],"tags":[570],"class_list":["post-2855","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nuget","tag-nuget"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install and Manage NuGet Packages - Serkan Seker TR<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install and Manage NuGet Packages - Serkan Seker TR\" \/>\n<meta property=\"og:description\" content=\"With the importance of code sharing, Microsoft&#039;s Visual Studio also created its own sharing platform: NuGet. NuGet Package Manager, which is directly integrated into Visual Studio, has offered the code packages of 3rd parties and institutions published on nuget.org to the service of developers. Also completely free.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/\" \/>\n<meta property=\"og:site_name\" content=\"Serkan Seker TR\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-07T10:08:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-22T07:32:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1\" \/>\n\t<meta property=\"og:image:height\" content=\"1\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"serkanadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"serkanadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/\"},\"author\":{\"name\":\"serkanadmin\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5\"},\"headline\":\"Install and Manage NuGet Packages\",\"datePublished\":\"2021-01-07T10:08:50+00:00\",\"dateModified\":\"2021-02-22T07:32:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/\"},\"wordCount\":1804,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg\",\"keywords\":[\"NuGet\"],\"articleSection\":[\"NuGet\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/\",\"url\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/\",\"name\":\"Install and Manage NuGet Packages - Serkan Seker TR\",\"isPartOf\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg\",\"datePublished\":\"2021-01-07T10:08:50+00:00\",\"dateModified\":\"2021-02-22T07:32:07+00:00\",\"author\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5\"},\"breadcrumb\":{\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage\",\"url\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg\",\"contentUrl\":\"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/serkanseker.com\/tr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install and Manage NuGet Packages\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#website\",\"url\":\"https:\/\/serkanseker.com\/tr\/\",\"name\":\"Serkan Seker TR\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/serkanseker.com\/tr\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5\",\"name\":\"serkanadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g\",\"caption\":\"serkanadmin\"},\"sameAs\":[\"https:\/\/serkanseker.com\"],\"url\":\"https:\/\/serkanseker.com\/tr\/author\/serkanadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install and Manage NuGet Packages - Serkan Seker TR","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Install and Manage NuGet Packages - Serkan Seker TR","og_description":"With the importance of code sharing, Microsoft's Visual Studio also created its own sharing platform: NuGet. NuGet Package Manager, which is directly integrated into Visual Studio, has offered the code packages of 3rd parties and institutions published on nuget.org to the service of developers. Also completely free.","og_url":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/","og_site_name":"Serkan Seker TR","article_published_time":"2021-01-07T10:08:50+00:00","article_modified_time":"2021-02-22T07:32:07+00:00","og_image":[{"url":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg","width":1,"height":1,"type":"image\/jpeg"}],"author":"serkanadmin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"serkanadmin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#article","isPartOf":{"@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/"},"author":{"name":"serkanadmin","@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5"},"headline":"Install and Manage NuGet Packages","datePublished":"2021-01-07T10:08:50+00:00","dateModified":"2021-02-22T07:32:07+00:00","mainEntityOfPage":{"@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/"},"wordCount":1804,"commentCount":0,"image":{"@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage"},"thumbnailUrl":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg","keywords":["NuGet"],"articleSection":["NuGet"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/","url":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/","name":"Install and Manage NuGet Packages - Serkan Seker TR","isPartOf":{"@id":"https:\/\/serkanseker.com\/tr\/#website"},"primaryImageOfPage":{"@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage"},"image":{"@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage"},"thumbnailUrl":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg","datePublished":"2021-01-07T10:08:50+00:00","dateModified":"2021-02-22T07:32:07+00:00","author":{"@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5"},"breadcrumb":{"@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#primaryimage","url":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg","contentUrl":"https:\/\/serkanseker.com\/tr\/wp-content\/uploads\/2021\/01\/Install-and-Manage-NuGet-Packages.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/serkanseker.com\/tr\/install-and-manage-nuget-packages\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/serkanseker.com\/tr\/"},{"@type":"ListItem","position":2,"name":"Install and Manage NuGet Packages"}]},{"@type":"WebSite","@id":"https:\/\/serkanseker.com\/tr\/#website","url":"https:\/\/serkanseker.com\/tr\/","name":"Serkan Seker TR","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/serkanseker.com\/tr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/841fcc69b248e08e52c4190963caeaf5","name":"serkanadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/serkanseker.com\/tr\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93ddc1f96117bf468976afe93a077eda77de96bcdb48dc749903598a546786a3?s=96&d=mm&r=g","caption":"serkanadmin"},"sameAs":["https:\/\/serkanseker.com"],"url":"https:\/\/serkanseker.com\/tr\/author\/serkanadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/posts\/2855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/comments?post=2855"}],"version-history":[{"count":0,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/posts\/2855\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/media\/234"}],"wp:attachment":[{"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/media?parent=2855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/categories?post=2855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serkanseker.com\/tr\/wp-json\/wp\/v2\/tags?post=2855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}