{"id":847,"date":"2019-09-26T11:33:23","date_gmt":"2019-09-25T23:33:23","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=847"},"modified":"2019-09-26T11:36:07","modified_gmt":"2019-09-25T23:36:07","slug":"adding-nuget-package-reference-to-a-project","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=847","title":{"rendered":"Adding NuGet Package Reference to a Project"},"content":{"rendered":"<p>Add a <strong>NuGet package reference<\/strong> to <strong>.Net Core<\/strong> project using the following command:<\/p>\n<pre style=\"white-space: pre;\">dotnet add package &lt;PACKAGE_NAME&gt; [-v &lt;VERSION&gt;]<\/pre>\n<p>Where:<\/p>\n<table>\n<tbody>\n<tr>\n<td>PACKAGE_NAME<\/td>\n<td>The NuGet package to be added<\/td>\n<\/tr>\n<tr>\n<td>VERSION<\/td>\n<td>If the optional <strong>-v<\/strong> was used, the target VERSION of the NuGet package.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Example without the -v option<\/p>\n<pre style=\"white-space: pre;\">dotnet add package Microsoft.ApplicationInsights<\/pre>\n<p>Example with the -v option<\/p>\n<pre style=\"white-space: pre;\">dotnet add package Microsoft.ApplicationInsights -v 2.10.0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Add a NuGet package reference to .Net Core project using the following command: dotnet add package &lt;PACKAGE_NAME&gt; [-v &lt;VERSION&gt;] Where: PACKAGE_NAME The NuGet package to be added VERSION If the optional -v was used, the target VERSION of the NuGet package. Example without the -v option dotnet add package Microsoft.ApplicationInsights Example with the -v option [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[50],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/847"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=847"}],"version-history":[{"count":3,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/847\/revisions"}],"predecessor-version":[{"id":850,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/847\/revisions\/850"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}