{"id":3273,"date":"2010-10-06T17:07:37","date_gmt":"2010-10-06T16:07:37","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/3273-nupack-brings-package-management-to-microsoft-net.html"},"modified":"2010-10-06T17:07:37","modified_gmt":"2010-10-06T16:07:37","slug":"nupack-brings-package-management-to-microsoft-net","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/3273-nupack-brings-package-management-to-microsoft-net.html","title":{"rendered":"NuPack brings package management to Microsoft .NET"},"content":{"rendered":"<p>Microsoft has <a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2010\/10\/06\/announcing-nupack-asp-net-mvc-3-beta-and-webmatrix-beta-2.aspx\" target=\"_blank\">announced<\/a> the beta release of NuPack, which is a package manager for .NET projects, mainly focused on open source libraries. NuPack itself is open source. <\/p>\n<p>I <a href=\"http:\/\/nupack.codeplex.com\/\" target=\"_blank\">downloaded<\/a> NuPack and took a look. It installs as a Visual Studio extension, and I used it with Visual Studio 2010. Once installed, you get a new Add Package Reference option for any .NET project, which opens this dialog:<\/p>\n<p><a href=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2010\/10\/image9.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/www.itwriting.com\/blog\/wp-content\/uploads\/2010\/10\/image_thumb9.png\" width=\"404\" height=\"281\" \/><\/a> <\/p>\n<p>There seem to be around 40 projects currently available, including some familiar names:<\/p>\n<ul>\n<li><strong>Castle<\/strong> Inversion of Control <\/li>\n<li><strong>fbConnectAuth<\/strong> Facebook Connect authentication library<\/li>\n<li><strong>JQuery<\/strong> &#8211; though this already appears by default in many ASP.NET projects<\/li>\n<li><strong>log4net<\/strong> logging library<\/li>\n<li><strong>Moq<\/strong> mocking library<\/li>\n<li><strong>NHibernate<\/strong> object-relational mapper<\/li>\n<li><strong>NUnit<\/strong> unit-testing framework<\/li>\n<\/ul>\n<p>Once you find the package you want to add, click install and it is automatically added to your project, complete with any necessary configuration changes. There is also a PowerShell-based console. In some cases it is better to use the console, as a package can add new commands which you can call from there.<\/p>\n<p>NuPack strikes me as a great idea; one comment to <a href=\"http:\/\/www.hanselman.com\/blog\/IntroducingNuPackPackageManagementforNETAnotherpieceoftheWebStack.aspx\" target=\"_blank\">Scott Hanselman\u2019s post<\/a> on the subject calls it GEM for .NET, GEM being the Ruby package manager. That said my quick go with NuPack has not been entirely smooth, and I got an error on my first attempt at adding NUnit to a project, fixed after restarting Visual Studio.<\/p>\n<p>My main reservation is whether Microsoft will really get behind this and support it, or whether it will end up as another promising initiative that after a while is abandoned.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft has announced the beta release of NuPack, which is a package manager for .NET projects, mainly focused on open source libraries. NuPack itself is open source. I downloaded NuPack and took a look. It installs as a Visual Studio extension, and I used it with Visual Studio 2010. Once installed, you get a new &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/3273-nupack-brings-package-management-to-microsoft-net.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">NuPack brings package management to Microsoft .NET<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,55,62,67,80,94],"tags":[104,586,653,676,697,955],"class_list":["post-3273","post","type-post","status-publish","format-standard","hentry","category-net","category-microsoft","category-open-source","category-professional","category-software-development","category-visual-studio","tag-net","tag-microsoft","tag-nupack","tag-open-source","tag-package-management","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=3273"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/3273\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=3273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=3273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=3273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}