<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://devlicio.us/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Rob Reynolds - The Fervent Coder : UppercuT</title><link>http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx</link><description>Tags: UppercuT</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>Published Applications AKA _PublishedApplications</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2011/03/22/published-applications-aka-publishedapplications.aspx</link><pubDate>Wed, 23 Mar 2011 02:23:12 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:66726</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=66726</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=66726</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2011/03/22/published-applications-aka-publishedapplications.aspx#comments</comments><description>&lt;blockquote&gt;   &lt;p&gt;Less maintenance. Less work to package during your automated builds. Too easy.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_66ABB1F6.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px 0px 5px 5px;padding-left:0px;padding-right:0px;display:inline;float:right;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="_PublishedWebsites" border="0" alt="_PublishedWebsites" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_01482843.png" width="244" height="147" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Remember Our Old Friend _PublishedWebsites?&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;You’ve probably seen the _PublishedWebsites folder when building websites in automated builds. If not you can stop paying attention now. &lt;/p&gt;  &lt;p&gt;Still with me? Great! So you know how it packages up everything nicely with content files going where they should with nearly ZERO cost to your build scripts. All you need to do is override the output directory (OutDir) and you get this feature. This behavior is arguably one of the best things that web projects do during automated builds.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_662F5934.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Nice Package!" border="0" alt="Nice Package!" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_4F20D7F8.png" width="244" height="142" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So how many of you, like me, just accepted the fact that this was just for web, and not other applications, and went on maintaining your build scripts to package up your other application types? Yeah, me too. Painful…and we looked at complicated ways of solving this problem. There has to be a better way. &lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Introducing _PublishedApplications&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;Recently &lt;a href="http://davidkeaveny.blogspot.com/2011/03/publishing-net-applications.html"&gt;David Keaveny&lt;/a&gt; came up with an idea to take the Microsoft.Web.targets file (which produces the _PublishedWebsites folder – it is imported by the csproj/vbproj file), change up a couple of variables and rename it to the Microsoft.&lt;strong&gt;Application&lt;/strong&gt;.targets file. When I saw this I thought this was an awesome idea! How come I didn’t think of that? Why didn’t anyone else see the simple solution?&lt;/p&gt;  &lt;p&gt;The concept is simple – You add the .targets file to your application. Then you edit the csproj/vbproj file by hand to add in the import for the .targets file.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_548F489C.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="MSBuild Import" border="0" alt="MSBuild Import" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2799E5C1.png" width="244" height="73" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And you get a nice folder with your application bits nicely packaged for you.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_7F8736A1.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="_PublishedApplications" border="0" alt="_PublishedApplications" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_4FE91815.png" width="244" height="84" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Note: &lt;/strong&gt;The _PublishedApplications folder ONLY shows up when you override the output directory during an automated build or command line access to building a solution.&amp;#160; The rest of the time your builds go to their normal folders (i.e. bin\Debug).&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;PublishedApplications Is On NuGet&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;&lt;a title="http://nuget.org/list/packages/publishedapplications" href="http://nuget.org/list/packages/publishedapplications"&gt;I&lt;/a&gt; loved this idea so much I did the work to figure out how to automate the imports part of the idea so it was a simple command to use Microsoft.Application.targets. And this is on NuGet: &lt;a title="http://nuget.org/list/packages/publishedapplications" href="http://nuget.org/list/packages/publishedapplications" target="_blank"&gt;http://nuget.org/list/packages/publishedapplications&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_47F175B3.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="NuGet Package Manager Console" border="0" alt="NuGet Package Manager Console" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2330386F.png" width="644" height="177" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;pre&gt;Install-Package PublishedApplications&lt;/pre&gt;

&lt;h4&gt;&lt;u&gt;Want A Demonstration?&lt;/u&gt;&lt;/h4&gt;

&lt;p&gt;Why talk when we can just look at a short video that demonstrates this idea?&lt;/p&gt;

&lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:501a2416-94e5-4276-933e-1d31cd4b6a0a" class="wlWriterEditableSmartContent"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=-oPtsb11vBU" target="_new"&gt;&lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/videoa54b057f5301_5F00_519B748F.jpg" style="border-style:none;" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="width:448px;clear:both;font-size:.8em;"&gt;Install-Package PublishedApplications&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Special thanks to David Keaveny for this great idea!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=66726" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category></item><item><title>From Zero To Deployed Contest - Winner Announced PLUS Extension To Most Creative</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2011/03/21/from-zero-to-deployed-contest-winner-announced-plus-extension-to-most-creative.aspx</link><pubDate>Mon, 21 Mar 2011 05:01:40 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:66721</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=66721</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=66721</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2011/03/21/from-zero-to-deployed-contest-winner-announced-plus-extension-to-most-creative.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/appharbor_5F00_6C0AE27B.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px 5px 5px 0px;padding-left:0px;padding-right:0px;display:inline;float:left;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="appharbor" border="0" alt="appharbor" align="left" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/appharbor_5F00_thumb_5F00_311389E5.png" width="154" height="172" /&gt;&lt;/a&gt;Recently we had a &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2011/02/22/from-zero-to-deployed-contest-prizes-announced.aspx" target="_blank"&gt;contest&lt;/a&gt; to see who could beat my time to get from no code to deployed. Thanks to everyone that participated and everyone that thought about participating in the contest.&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Most Creative From Zero To Deployed Contest Extended!&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;Unfortunately there were not enough entries to award the most creative video for ZtD. So what we are doing is extending the most creative until May 15, 2011 @ 11:59 PM CST.&amp;#160; This gives you almost two months to get your videos in! If you entered before, you are allowed to re-enter for the most creative (even if you won the first contest).There is no minimum number of entries this time around either. Refresh yourself of the rules/prizes from the &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2011/02/22/from-zero-to-deployed-contest-prizes-announced.aspx"&gt;last post&lt;/a&gt; and get coding!&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;And The Winner Is…&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;I want to thank those that participated. It takes a lot to code against the clock, and even more to capture it on video and put it up for the world to see. Those two factors alone helped me realize I wouldn’t get a lot of entries and I’m excited that at least two people jumped in with submissions! Cool points to all participants. &lt;/p&gt;  &lt;p&gt;As long as the rules were followed, the person with the best time would win. And that person would win $2348 worth of prizes! To recap the prizes: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;$50 Gift Card (provided by me) &lt;/li&gt;    &lt;li&gt;$100 service credit for AppHarbor (provided by AppHarbor) &lt;/li&gt;    &lt;li&gt;Full personal license of ReSharper (provided by Jet Brains) &lt;/li&gt;    &lt;li&gt;Telerik Ultimate Collection for .NET (provided by Telerik) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;And the winner is &lt;/strong&gt;&lt;a href="http://about.me/jpogran"&gt;&lt;strong&gt;James Pogran&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; with a time of 5:50!&lt;/strong&gt; Congratulations man! Be sure to give him a shout out on &lt;a href="http://twitter.com/ender2025" target="_blank"&gt;twitter&lt;/a&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=66721" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/RoundhousE/default.aspx">RoundhousE</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Events/default.aspx">Events</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Challenge/default.aspx">Challenge</category></item><item><title>AppHarbor - Azure Done Right AKA Heroku for .NET</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2011/02/16/appharbor-azure-done-right-aka-heroku-for-net.aspx</link><pubDate>Wed, 16 Feb 2011 12:49:23 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:66401</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=66401</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=66401</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2011/02/16/appharbor-azure-done-right-aka-heroku-for-net.aspx#comments</comments><description>&lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Easy and Instant deployments and instant scale for .NET?&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Awhile back a &lt;a href="http://groups.google.com/group/nu-net" target="_blank"&gt;few of us&lt;/a&gt; were looking at &lt;a href="http://rubygems.org/" target="_blank"&gt;Ruby Gems&lt;/a&gt; as the answer to &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx" target="_blank"&gt;package management for .NET&lt;/a&gt;. The gems platform supported the concept of DLLs as packages although some changes would have needed to happen to have long term use for the entire community. From that we formed a partnership with some folks at Microsoft to make v2 into something that would meet &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/10/06/the-evolution-of-package-management-for-net.aspx" target="_blank"&gt;wider adoption across the community&lt;/a&gt;, which people now call &lt;a href="http://nuget.codeplex.com/" target="_blank"&gt;NuGet&lt;/a&gt;. So now we have the concept of package management. What comes next?&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Heroku&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;Instant deployments and instant scaling. Stupid simple API.&lt;/strong&gt; This is &lt;a href="http://heroku.com/" target="_blank"&gt;Heroku&lt;/a&gt;. It doesn’t sound like much, but when you think of how fast you can go from an idea to having someone else tinker with it, you can start to see its power. In literally seconds you can be looking at your rails application deployed and online. Then when you are ready to scale, you can do that. This is power. Some may call this “cloud-computing” or &lt;a href="http://en.wikipedia.org/wiki/Platform_as_a_service" target="_blank"&gt;PaaS&lt;/a&gt; (Platform as a Service).&lt;/p&gt;  &lt;p&gt;I first ran into Heroku back in July when I met &lt;a href="http://litanyagainstfear.com/" target="_blank"&gt;Nick&lt;/a&gt; of &lt;a href="http://rubygems.org/" target="_blank"&gt;RubyGems.org&lt;/a&gt;. At the time there was no alternative in the .NET-o-sphere. I don’t count &lt;a href="http://www.microsoft.com/windowsazure/" target="_blank"&gt;Windows Azure&lt;/a&gt;, mostly because it is not simple and I don’t believe there is a free version. Heroku itself would not lend itself well to .NET due to the nature of platforms and each language’s specific needs (solution stack).&amp;#160; So I tucked the idea in the back of my head and moved on. &lt;/p&gt;  &lt;h4&gt;&lt;u&gt;AppHarbor Enters The Scene&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_14CF6EF3.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;float:right;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_7D54BAC1.png" width="244" height="184" /&gt;&lt;/a&gt;I’m not sure when I first heard about &lt;a href="http://appharbor.com/" target="_blank"&gt;AppHarbor&lt;/a&gt; as a possible .NET version of Heroku. It may have been in November, but I didn’t actually try it until January. I was instantly hooked. AppHarbor is awesome! It still has a ways to go to be considered Heroku for .NET, but it already has a growing community. I created a video series (at the bottom of this post) that really highlights how fast you can get a product onto the web and really shows the power and simplicity of AppHarbor. &lt;/p&gt;  &lt;p&gt;Deploying is as simple as a git/hg push to appharbor. From there they build your code, run any unit tests you have and deploy it if everything succeeds. The screen on the right shows a simple and elegant UI to getting things done.&lt;/p&gt;  &lt;p&gt;The folks at AppHarbor graciously gave me a limited number of invites to hand out. If you are itching to try AppHarbor then navigate to: &lt;a title="new-inviteCode=ferventcoder" href="https://appharbor.com/account/new?inviteCode=ferventcoder"&gt;https://appharbor.com/account/new?inviteCode=ferventcoder&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;After playing with it, send &lt;a href="http://feedback.appharbor.com/forums/95687-general"&gt;feedback&lt;/a&gt; if you want more features. Go vote up &lt;a href="http://feedback.appharbor.com/forums/95687-general/suggestions/1380047-gem-command-line-application?ref=title"&gt;two&lt;/a&gt; &lt;a href="http://feedback.appharbor.com/forums/95687-general/suggestions/1377701-migrations?ref=title"&gt;features&lt;/a&gt; I want that will make it more like Heroku.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Disclaimer: I am in no way affiliated with AppHarbor and have not received any funds or favors from anyone at AppHarbor. I just think it is awesome and I want others to know about it.&lt;/p&gt; &lt;/blockquote&gt;  &lt;h4&gt;&lt;u&gt;From Zero To Deployed in 15 Minutes (Or Less)&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;Now I have a challenge for you. I created a video series showing how fast I could go from nothing to a deployed application. It could have been from Zero to Deployed in Less than 5 minutes, but I wanted to show you the tools a little more and give you an opportunity to beat my time.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;And that’s the challenge. Beat my time and show it in a video response.&lt;/strong&gt; The video series is below (at least one of the videos has to be watched on YouTube). The person with the best time by March 15th @ 11:59PM CST will receive a prize.&lt;/p&gt;  &lt;p&gt;Ground rules: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;.NET Application with a valid database connection &lt;/li&gt;    &lt;li&gt;Start from Zero &lt;/li&gt;    &lt;li&gt;Deployed with AppHarbor or an alternative &lt;/li&gt;    &lt;li&gt;A timer displayed in the video that runs during the entire process &lt;/li&gt;    &lt;li&gt;Video response published on YouTube or acceptable alternative &lt;/li&gt;    &lt;li&gt;Video(s) must be published by March 15th at 11:59PM CST.&lt;/li&gt;    &lt;li&gt;Either post the link here as a comment or on YouTube as a response (also by 11:59PM CST March 15th)&lt;/li&gt; &lt;/ul&gt;    &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:e1a3d5a5-c97b-4a35-911e-8b2163418dc8" class="wlWriterEditableSmartContent"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=cZIUVfHWsbc" target="_new"&gt;&lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/video454d0754bef1_5F00_566840DC.jpg" style="border-style:none;" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="width:448px;clear:both;font-size:.8em;"&gt;From Zero To Deployed In 15 Minutes (Or Less) Part 1&lt;/div&gt;&lt;/div&gt;      &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:9bf5acc4-7735-4b63-a773-6448d28ba476" class="wlWriterEditableSmartContent"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=l7WluaXIya0" target="_new"&gt;&lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/videoffb63c9cfc3e_5F00_1BA09806.jpg" style="border-style:none;" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="width:448px;clear:both;font-size:.8em;"&gt;From Zero To Deployed In 15 Minutes (Or Less) Part 2&lt;/div&gt;&lt;/div&gt;      &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:18da1711-02ee-4953-ba19-2ce35e8f4bf5" class="wlWriterEditableSmartContent"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=IqPh7wbWsLc" target="_new"&gt;&lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/video8c3ef0b1b950_5F00_5306A934.jpg" style="border-style:none;" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="width:448px;clear:both;font-size:.8em;"&gt;From Zero To Deployed In 15 Minutes (Or Less) Part 3&lt;/div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=66401" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/NHibernate/default.aspx">NHibernate</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Fluent+NHibernate/default.aspx">Fluent NHibernate</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/RoundhousE/default.aspx">RoundhousE</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Git/default.aspx">Git</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Agile/default.aspx">Agile</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Challenge/default.aspx">Challenge</category></item><item><title>UppercuT v1.2–NuGet Support</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2011/01/23/uppercut-v1-2-nuget-support.aspx</link><pubDate>Mon, 24 Jan 2011 02:18:57 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:64799</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=64799</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=64799</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2011/01/23/uppercut-v1-2-nuget-support.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/nuget_2D00_229x64_5F00_20C99BC9.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px 0px 5px 5px;padding-left:0px;padding-right:0px;display:inline;float:right;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="NuGet beeaches! NuGet-ty goodness yo! Get your package here!" border="0" alt="NuGet" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/nuget_2D00_229x64_5F00_thumb_5F00_7FD62921.png" width="233" height="68" /&gt;&lt;/a&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/UppercuT_5F00_Logo_5F00_medium_5F00_5EE2B67A.jpg"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px 5px 5px 0px;padding-left:0px;padding-right:0px;display:inline;float:left;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="UppercuT beeaches! Freakin conventional automated builds yo!" border="0" alt="UppercuT_Logo_medium" align="left" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/UppercuT_5F00_Logo_5F00_medium_5F00_thumb_5F00_7072A145.jpg" width="204" height="147" /&gt;&lt;/a&gt;For those that have not yet heard, &lt;a href="http://nuget.codeplex.com/" target="_blank"&gt;NuGet&lt;/a&gt; &lt;a href="http://weblogs.asp.net/scottgu/archive/2011/01/13/announcing-release-of-asp-net-mvc-3-iis-express-sql-ce-4-web-farm-framework-orchard-webmatrix.aspx" target="_blank"&gt;went v1 recently&lt;/a&gt; along with a whole slew of tools from the Microsoft folks. I’ve been lucky to be a part of the NuGet project and see it take shape over the past few months with community input and contributions. Even though v1.0 was released, we are already moving forward with getting ideas and prioritizing features for the next version.&lt;/p&gt;  &lt;p&gt;To follow the announcement, &lt;a href="http://projectuppercut.org/" target="_blank"&gt;UppercuT&lt;/a&gt; (UC) v1.2 now includes support for NuGet out of the box. Plus, it will handle versioning the nuspec file for you, a highly requested feature for those that worked with other package managers.&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;UppercuT + NuGet == Can Packaging Get Any Easier?&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;It can. UC exists to take the pains out of builds. To go from zero to your first NuGet package with the goodness of UC, just read on and follow the directions. If you are already creating nuget packages, UC can help update the version in the nuspec for you automatically. Read on…&lt;/p&gt;  &lt;h5&gt;Upgrading?&lt;/h5&gt;  &lt;p&gt;1. For those upgrading, you bring over the entire contents of the build directory like before. Please see the &lt;a href="http://code.google.com/p/uppercut/downloads" target="_blank"&gt;downloads&lt;/a&gt; (or the &lt;a href="http://code.google.com/p/uppercut/source/browse/trunk/README.markdown#57" target="_blank"&gt;ReadMe ReleaseNotes section&lt;/a&gt;) for any items you need to change between your previous version and the latest version of UC you are downloading.&lt;/p&gt;  &lt;p&gt;2. You will want to add the following to your UppercuT.config file:&lt;/p&gt;  &lt;pre class="xml" name="code"&gt;&amp;lt;property name=&amp;quot;app.nuget&amp;quot; value=&amp;quot;..${path.separator}${folder.references}${path.separator}NuGet${path.separator}NuGet.exe&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_1668519C.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="app.nuget location in uppercut.config" border="0" alt="uppercut.config setting" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_79EB5FBB.png" width="644" height="57" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2. Include the NuGet folder in your lib directory from the UC distribution (or get the latest NuGet.exe and drop it in a NuGet folder under lib):&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_14B785C8.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="lib/NuGet" border="0" alt="lib/NuGet" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_7E153780.png" width="305" height="215" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3. Add the nuget directory at your top level (next to the build.bat file) from the UC distribution:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_75452F34.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="nuget folder" border="0" alt="nuget folder" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_427528C0.png" width="215" height="197" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h5&gt;New to Uppercut?&lt;/h5&gt;

&lt;p&gt;1. There is a nice &lt;a href="http://uppercut.pbworks.com/w/page/9022444/HowToUse" target="_blank"&gt;write up&lt;/a&gt; on how to get UC set up on your project in less than 5 minutes (or you can try the &lt;a href="http://projectuppercut.org/" target="_blank"&gt;gems approach&lt;/a&gt;)! It really shows how little is needed to get a fully conventional build with the ability to upgrade in seconds instead of hours for your builds.&lt;/p&gt;

&lt;h4&gt;&lt;u&gt;Getting Some Nuget-ty Goodness To Your Builds&lt;/u&gt;&lt;/h4&gt;

&lt;p&gt;1. Head into the top level &lt;strong&gt;nuget&lt;/strong&gt; folder. Rename the __NAME__.nuspec file to the name of your nugget (most likely your project name if there are no other packages named the same). Here we are working with &lt;a href="http://sidepop.googlecode.com" target="_blank"&gt;SidePOP&lt;/a&gt;, so I named it sidepop.nuspec.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_6F8A158E.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="rename the __NAME__.nuspec" border="0" alt="rename the __NAME__.nuspec" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_07414CF5.png" width="316" height="181" /&gt;&lt;/a&gt;&amp;#160;&amp;#160; &lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_710B31A2.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Renamed __NAME__.nuspec to sidepop.nuspec" border="0" alt="sidepop.nuspec" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_5083F1F0.png" width="143" height="65" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2. Let’s open that file and take a look.&lt;/p&gt;

&lt;pre class="xml" name="code"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&amp;lt;package xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;
  &amp;lt;metadata&amp;gt;
    &amp;lt;id&amp;gt;__REPLACE__&amp;lt;/id&amp;gt;
    &amp;lt;version&amp;gt;DO_NOT_EDIT&amp;lt;/version&amp;gt;
    &amp;lt;authors&amp;gt;__REPLACE__&amp;lt;/authors&amp;gt;
    &amp;lt;owners&amp;gt;__REPLACE__&amp;lt;/owners&amp;gt;
    &amp;lt;summary&amp;gt;__REPLACE__&amp;lt;/summary&amp;gt;
    &amp;lt;description&amp;gt;__REPLACE__&amp;lt;/description&amp;gt;
    &amp;lt;!--&amp;lt;projectUrl&amp;gt;__REPLACE__&amp;lt;/projectUrl&amp;gt;
    &amp;lt;licenseUrl&amp;gt;__REPLACE__&amp;lt;/licenseUrl&amp;gt;
    &amp;lt;requireLicenseAcceptance&amp;gt;false&amp;lt;/requireLicenseAcceptance&amp;gt;
    &amp;lt;tags&amp;gt;space delimited&amp;lt;/tags&amp;gt;
    &amp;lt;iconUrl&amp;gt;32x32.png&amp;lt;/iconUrl&amp;gt;
    &amp;lt;dependencies&amp;gt;
      &amp;lt;dependency id=&amp;quot;something&amp;quot; version=&amp;quot;1.0.0.0&amp;quot; /&amp;gt;
    &amp;lt;/dependencies&amp;gt;--&amp;gt;
  &amp;lt;/metadata&amp;gt;
&amp;lt;/package&amp;gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;NOTE: &lt;/strong&gt;Notice the metadata attribute doesn’t have the xmlns in it (xmlns=&amp;quot;http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd&amp;quot;). This needs to be removed for xpath to be able to replace the version. If you are bringing an existing nuspec in, you will want to remove that.&lt;/p&gt;

&lt;p&gt;3. Look how most things say __REPLACE__. The version attribute does not. Do not edit version (if you do, it will just be replaced during the build). &lt;/p&gt;

&lt;p&gt;4. Let’s set up the nuspec for SidePOP. SidePOP has a dependency on log4net version 1.2.10.&lt;/p&gt;

&lt;pre class="xml" name="code"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&amp;lt;package xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot;&amp;gt;
  &amp;lt;metadata&amp;gt;
    &amp;lt;id&amp;gt;sidepop&amp;lt;/id&amp;gt;
    &amp;lt;version&amp;gt;DO_NOT_EDIT&amp;lt;/version&amp;gt;
    &amp;lt;authors&amp;gt;Rob Reynolds, Tim Hibbard&amp;lt;/authors&amp;gt;
    &amp;lt;owners&amp;gt;Rob Reynolds&amp;lt;/owners&amp;gt;
    &amp;lt;summary&amp;gt;SidePOP gives your app the ability to receive email&amp;lt;/summary&amp;gt;
    &amp;lt;description&amp;gt;SidePOP allows your application the ability to receive email&amp;lt;/description&amp;gt;
    &amp;lt;projectUrl&amp;gt;http://sidepop.googlecode.com&amp;lt;/projectUrl&amp;gt;
    &amp;lt;licenseUrl&amp;gt;http://www.apache.org/licenses/LICENSE-2.0&amp;lt;/licenseUrl&amp;gt;
    &amp;lt;requireLicenseAcceptance&amp;gt;false&amp;lt;/requireLicenseAcceptance&amp;gt;
    &amp;lt;tags&amp;gt;email&amp;lt;/tags&amp;gt;
    &amp;lt;!--&amp;lt;iconUrl&amp;gt;32x32.png&amp;lt;/iconUrl&amp;gt;--&amp;gt;
    &amp;lt;dependencies&amp;gt;
      &amp;lt;dependency id=&amp;quot;log4net&amp;quot; version=&amp;quot;1.2.10&amp;quot; /&amp;gt;
    &amp;lt;/dependencies&amp;gt;
  &amp;lt;/metadata&amp;gt;
&amp;lt;/package&amp;gt;&lt;/pre&gt;

&lt;p&gt;5. We also have content transformation for the config file, so we’ll include that in the nuget folder.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_0FE1A581.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="adding a content folder!" border="0" alt="adding a content folder" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_364388CC.png" width="261" height="90" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;6. In that we will create our transforms for the web.config and app.config.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_03738258.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="transform files, we roll explicit yo!" border="0" alt="transform files" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_7BE812EA.png" width="311" height="144" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;7. Now we go back up to our top level folder and run build.bat. &lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_41206A14.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Loving the colorific console!" border="0" alt="build it like the matrix" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_78F2AE37.png" width="454" height="413" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;8. If we head down to our code_drop/nuget folder, you can see we have a nupkg with the right version on it!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_4F9B6639.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="7Zip - showing the package manager and contents. Sweet!" border="0" alt="7Zip - showing the package and contents" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_42C1101B.png" width="599" height="434" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;9. Now all we have to do is look to be sure we have everything we want and we can upload. In my case I need to exclude the log4net file I have, so I need to delete that one from the directory during the build process. How do I get in? &lt;a href="http://uppercut.pbworks.com/w/page/9022440/CustomizeUsingExtensionPoints" target="_blank"&gt;UC Extension Points&lt;/a&gt; of course!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_6052EB1A.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Whoops! Got log4net in my package. Dude!" border="0" alt="Got log4net in my package" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_6699C1A8.png" width="425" height="128" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;10. If I drop into the build folder and open a command line I can type: &lt;strong&gt;customize nugetPrepare.step post&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_30B4CC8E.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="customize nugetPrepare.step post" border="0" alt="customize nugetPrepare.step post" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_251F0F4F.png" width="478" height="40" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;11. This will create an extension point file for me in build.custom. &lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_08A21D6F.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="nugetPrepare.post.step yo" border="0" alt="nugetPrepare.post.step" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2E2B9AD0.png" width="288" height="242" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;12. Open that file and let’s remove the log4net file from the nuget drop directory prior to the nuget build. This is how I set up that file:&lt;/p&gt;

&lt;pre class="xml" name="code"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;
&amp;lt;project name=&amp;quot;CUSTOM POST NUGETPREPARE&amp;quot; default=&amp;quot;go&amp;quot;&amp;gt;
  &amp;lt;!-- Project UppercuT - http://projectuppercut.org --&amp;gt;
  &amp;lt;property name=&amp;quot;build.config.settings&amp;quot; value=&amp;quot;__NONE__&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;include buildfile=&amp;quot;${build.config.settings}&amp;quot; if=&amp;quot;${file::exists(build.config.settings)}&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;path.separator&amp;quot; value=&amp;quot;${string::trim(path::combine(&amp;#39; &amp;#39;, &amp;#39; &amp;#39;))}&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;dirs.current&amp;quot; value=&amp;quot;${directory::get-parent-directory(project::get-buildfile-path())}&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;path.to.toplevel&amp;quot; value=&amp;quot;..&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;folder.code_drop&amp;quot; value=&amp;quot;code_drop&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;dirs.drop&amp;quot; value=&amp;quot;${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_drop}&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;dirs.drop&amp;quot; value=&amp;quot;${path::get-full-path(dirs.drop)}&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;folder.nuget&amp;quot; value=&amp;quot;nuget&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;dirs.drop.nuget&amp;quot; value=&amp;quot;${dirs.drop}${path.separator}${folder.nuget}&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  
  &amp;lt;target name=&amp;quot;go&amp;quot;&amp;gt;
    &amp;lt;echo message=&amp;quot;Removing log4net from &amp;#39;${dirs.drop.nuget}\lib&amp;#39;&amp;quot; /&amp;gt;
    &amp;lt;delete&amp;gt;
      &amp;lt;fileset basedir=&amp;quot;${dirs.drop.nuget}\lib&amp;quot; &amp;gt;
        &amp;lt;include name=&amp;quot;log4net.*&amp;quot; /&amp;gt;
      &amp;lt;/fileset&amp;gt;
    &amp;lt;/delete&amp;gt;
  &amp;lt;/target&amp;gt;
  
&amp;lt;/project&amp;gt;&lt;/pre&gt;

&lt;p&gt;13. Now looky here, log4net is no longer in my package. &lt;img style="border-bottom-style:none;border-right-style:none;border-top-style:none;border-left-style:none;" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/wlEmoticon_2D00_openmouthedsmile_5F00_21BD77A7.png" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_255B9284.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="sidepop.dll minus log4net.dll" border="0" alt="sidepop.dll minus log4net.dll" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_64B94614.png" width="456" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;14. Now I am ready to test my package before I push it out by putting it in a local feed and grabbing it.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_7FF19F15.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="PM is for Package Manager... :D" border="0" alt="Package Manager Console" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_18150971.png" width="614" height="157" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_29856A49.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="SidePOP - checkin your email yo!" border="0" alt="sidepop in the configuration file" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2F600DE2.png" width="633" height="268" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;15. All good. Now I can upload and put my package on the &lt;a href="http://nuget.org" target="_blank"&gt;official feed&lt;/a&gt;!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_20492F08.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="SidePOP on NuGet gallery!" border="0" alt="SidePOP on NuGet gallery!" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_12967300.png" width="354" height="284" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; SidePOP is in Alpha. If you want to use it to check email, it works, but be prepared for possible errors.&lt;/p&gt;

&lt;h4&gt;&lt;u&gt;Conclusion – UppercuT and NuGet – A Good Team!&lt;/u&gt;&lt;/h4&gt;

&lt;p&gt;You can see how fast we went from ZERO NuGet to up on the &lt;a href="http://nuget.org" target="_blank"&gt;http://nuget.org&lt;/a&gt; site! In 4 steps I was already building a NuGet package, and in less than 15 steps it was production ready! What are you waiting for? Go &lt;a href="http://projectuppercut.org/" target="_blank"&gt;UppercuT&lt;/a&gt; your code now!&lt;/p&gt;

&lt;p&gt;If you have any UC related questions when getting it all NuGet-ty, feel free to contact the list: &lt;a href="http://groups.google.com/group/chucknorrisframework" target="_blank"&gt;http://groups.google.com/group/chucknorrisframework&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;With this knowledge, you shall build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=64799" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category></item><item><title>UppercuT v1.0 and 1.1–Linux (Mono), Multi-targeting, SemVer, Nitriq and Obfuscation, oh my!</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2011/01/13/uppercut-v1-0-and-1-1-linux-mono-multi-targeting-semver-nitriq-and-obfuscation-oh-my.aspx</link><pubDate>Thu, 13 Jan 2011 19:04:54 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:64582</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=64582</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=64582</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2011/01/13/uppercut-v1-0-and-1-1-linux-mono-multi-targeting-semver-nitriq-and-obfuscation-oh-my.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/UppercuT_5F00_logo_5F00_1E8FE730.png"&gt;&lt;img style="border-right-width:0px;margin:5px 0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="UppercuT v1 yo" border="0" alt="UppercuT v1 yo" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/UppercuT_5F00_logo_5F00_thumb_5F00_5C3CCEEC.png" width="244" height="176" /&gt;&lt;/a&gt;Recently &lt;a href="http://projectuppercut.org/" target="_blank"&gt;UppercuT&lt;/a&gt; (UC) quietly released version 1 (in August). I’m pretty happy with where we are, although I think it’s a few months later than I originally planned. I’m glad I held it back, it gave me some more time to think about some things a little more and also the opportunity to receive a patch for running builds with UC on Linux. We also released v1.1 very recently (December).&lt;/p&gt;  &lt;h3&gt;&lt;u&gt;UppercuT v1&lt;/u&gt;&lt;/h3&gt;  &lt;h4&gt;&lt;u&gt;Builds On Linux&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;Perhaps the most significant changes to UC going v1 is that it now supports builds on Linux using Mono! This is thanks mostly to &lt;a href="http://twitter.com/ackenpacken" target="_blank"&gt;Svein Ackenhausen&lt;/a&gt; for the patches and working with me on getting it all working while not breaking the windows builds!&amp;#160; This means you can use mono on Windows or Linux.&lt;/p&gt;  &lt;p&gt;Notice the shell files to execute with Linux that come as part of UC now. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_4672E68F.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="uc shell files" border="0" alt="uc shell files" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_7387D35D.png" width="158" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Multi-Targeting&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;Perhaps one of the hardest things to do that requires an automated build is multi-targeting. At v1 this is early, and possibly prone to some issues, but available.&amp;#160; &lt;/p&gt;  &lt;p&gt;We believe in making everything stupid simple, so it’s as simple as adding a comma to the microsoft.framework property. i.e. “net-3.5, net-4.0” to suddenly produce both framework builds.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_59B39D2E.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_514FC7D7.png" width="681" height="122" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_10AD7B68.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="net-3.5,net-4.0" border="0" alt="net-3.5,net-4.0" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_7B4FC5FF.png" width="519" height="65" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;When you build, this is what you get (if you meet each framework’s requirements):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_5AC8864D.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="UC muli-targeting output" border="0" alt="UC muli-targeting output" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_27F87FD9.png" width="331" height="198" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;At this time you have to let UC override the build location (as it does by default) or this will not work.&amp;#160; &lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Semantic Versioning&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;By now many of you have been using UppercuT for awhile and have watched how we have done versioning. Many of you who use git already know we put the revision hash in the informational/product version as the last octet. &lt;/p&gt;  &lt;p&gt;At v1, UppercuT has adopted the semantic versioning scheme. What does that mean?&lt;/p&gt;  &lt;p&gt;This is a short read, but a good one: &lt;a href="http://SemVer.org"&gt;http://SemVer.org&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;SemVer (Semantic Versioning) is really using versioning what it was meant for. You have three octets. Major.Minor.Patch as in 1.1.0.&amp;#160; UC will use three different versioning concepts, one for the assembly version, one for the file version, and one for the product version. &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;All versions - The first three octects of the version are owned by SemVer. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Major.Minor.Patch &lt;/li&gt;    &lt;li&gt;i.e.: 1.1.0 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Assembly Version - The assembly version would much closer follow SemVer. Last digit is always 0. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Major.Minor.Patch.0 &lt;/li&gt;    &lt;li&gt;i.e: 1.1.0.0 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;File Version - The file version occupies the build number as the last digit. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Major.Minor.Patch.Build &lt;/li&gt;    &lt;li&gt;i.e.: 1.1.0.2650 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Product/Informational Version - The last octect of your product/informational version is the source control revision/hash. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Major.Minor.Patch.RevisionOrHash &lt;/li&gt;    &lt;li&gt;i.e. (TFS/SVN): 1.1.0.235 &lt;/li&gt;    &lt;li&gt;i.e. (Git/HG): 1.1.0.a45ace4346adef0 &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;SemVer is not on by default, the passive versioning scheme is still in effect. Notice that &lt;strong&gt;version.use_semanticversioning&lt;/strong&gt; has been added to the UppercuT.config file (and version.patch in support of the third octet):&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_550D6CA7.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Versioning with added SemVer properties" border="0" alt="Versioning with added SemVer properties" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_667DCD7F.png" width="644" height="102" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Gems Support&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;Gems support was added at v1. This will probably be deprecated as some point once there is an announced sunset for Nu v1. Application gems may keep it around since there is no alternative for that yet though (CoApp would be a possible replacement).&lt;/p&gt;  &lt;h4&gt;&lt;u&gt;Nitriq Support&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://www.nitriq.com/" target="_blank"&gt;Nitriq&lt;/a&gt; is a code analysis tool like &lt;a href="http://www.ndepend.com" target="_blank"&gt;NDepend&lt;/a&gt;. It’s built by Mr. &lt;a href="http://twitter.com/nitriq" target="_blank"&gt;Jon von Gillern&lt;/a&gt;. It uses LINQ query language, so you can use a familiar idiom when analyzing your code base. It’s a pretty awesome tool that has a free version for those looking to do code analysis!&lt;/p&gt;  &lt;p&gt;To use Nitriq with UC, you are going to need the &lt;a href="http://www.nitriq.com/console/Default.aspx" target="_blank"&gt;console edition&lt;/a&gt;.&amp;#160; To take advantage of Nitriq, you just need to update the location of Nitriq in the config:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_4CA99750.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Nitriq path" border="0" alt="Nitriq path" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2C22579E.png" width="697" height="42" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Then add the nitriq project files at the root of your source.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_0B9B17EC.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="Nitriq - two required project files" border="0" alt="shows nitriq.nitriqProj and nitriq.nq" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_1D0B78C4.png" width="182" height="196" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Please refer to the Nitriq documentation on how these are created.&lt;/p&gt;  &lt;h3&gt;&lt;u&gt;UppercuT v1.1&lt;/u&gt;&lt;/h3&gt;  &lt;h4&gt;&lt;u&gt;Obfuscation&lt;/u&gt;&lt;/h4&gt;  &lt;p&gt;One thing I started looking into was an easy way to obfuscate my code. I came across &lt;a href="http://www.foss.kharkov.ua/g1/projects/eazfuscator/dotnet/Default.aspx" target="_blank"&gt;EazFuscator&lt;/a&gt;, which is both free and awesome. Plus the GUI for it is super simple to use. &lt;/p&gt;  &lt;p&gt;How do you make obfuscation even easier? Make it a convention and a configurable property in the UC config file!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_780DB84A.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="obfuscate - EASY!" border="0" alt="obfuscate - even easier" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_376B6BDB.png" width="525" height="31" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;And the code gets obfuscated! &lt;/p&gt;  &lt;h3&gt;&lt;u&gt;Closing&lt;/u&gt;&lt;/h3&gt;  &lt;p&gt;Definitely get out and look at the &lt;a href="http://projectuppercut.org/" target="_blank"&gt;new release&lt;/a&gt;. It contains lots of chocolaty (sp?) goodness. And remember, the upgrade path is almost as simple as drag and drop! &lt;img style="border-bottom-style:none;border-right-style:none;border-top-style:none;border-left-style:none;" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/wlEmoticon_2D00_openmouthedsmile_5F00_3B0986B8.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=64582" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>Herding Code Talks About Nu</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/08/27/herding-code-talks-about-nu.aspx</link><pubDate>Fri, 27 Aug 2010 06:22:58 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:61707</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=61707</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=61707</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/08/27/herding-code-talks-about-nu.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_33FC9938.png"&gt;&lt;img style="border-right-width:0px;margin:0px 0px 5px 5px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Herding Code" border="0" alt="Herding Code" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_0BE9EA19.png" width="174" height="174" /&gt;&lt;/a&gt;&lt;a href="http://drusellers.codebetter.com" target="_blank"&gt;Dru&lt;/a&gt; and I were recently featured on &lt;a href="http://herdingcode.com/?p=272" target="_blank"&gt;Herding Code&lt;/a&gt; Podcast. In the podcast we talk about everything from package management in general to &lt;a href="http://nu.wikispot.org" target="_blank"&gt;Nubular&lt;/a&gt; (Nu) to other package management systems (&lt;a href="http://github.com/openrasta/openwrap" target="_blank"&gt;OpenWrap&lt;/a&gt;, &lt;a href="http://bricksproject.org/" target="_blank"&gt;Bricks&lt;/a&gt;, and &lt;a href="http://groups.google.com/group/horn-development" target="_blank"&gt;Horn&lt;/a&gt;, although horn was/is slightly different) to the possibility of Microsoft releasing a package management system. It was a good time and I enjoyed doing the podcast, but the herding code guys start recording at an insane 10:30 PM! I have no idea how I made it through the whole thing and was still able to talk afterwards.&lt;/p&gt;  &lt;p&gt;Some highlights:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;There is a lot of talk in the beginning about package management in general. &lt;/li&gt;    &lt;li&gt;Basically, I say the word “basically” way too much. &lt;/li&gt;    &lt;li&gt;For the first 16 minutes I think I was teetering on sleep, it was 10:30PM after all. Then after that I start to wake up and sound more articulate. &lt;/li&gt;    &lt;li&gt;Big shouts out to all the people in the community that have really been stepping up, and huge shout outs to &lt;a href="http://litanyagainstfear.com/" target="_blank"&gt;Nick Quaranto&lt;/a&gt; (@&lt;a href="http://twitter.com/qrush" target="_blank"&gt;qrush&lt;/a&gt;), &lt;a href="http://weblogs.asp.net/bsimser/" target="_blank"&gt;Bil Simser&lt;/a&gt; (@&lt;a href="http://twitter.com/bsimser" target="_blank"&gt;bsimser&lt;/a&gt;) and &lt;a href="http://systemex.net/" target="_blank"&gt;Michael Carter&lt;/a&gt; (@&lt;a href="http://twitter.com/kiliman" target="_blank"&gt;kiliman&lt;/a&gt;). &lt;/li&gt;    &lt;li&gt;40:16 – Discussion about what we would do if Microsoft released a package management system &lt;/li&gt;    &lt;li&gt;49:34 - “It’s spelled with an N U” - Dru Pimps Nu in the “Pimp Your Code” section of the podcast &lt;/li&gt;    &lt;li&gt;Going OT (off topic) 53:11 - “We junk punch audit” - Mentions for &lt;a href="http://projectroundhouse.org/" target="_blank"&gt;RoundhousE&lt;/a&gt; and what problems it solves. &lt;/li&gt;    &lt;li&gt;55:13 - “At the end of the day it is what it is as long as you bring your A game” - Basically Rehashed and Remixed. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_6AF67771.png"&gt;&lt;img style="border-right-width:0px;margin:0px 5px 5px 0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Nubular (Nu)" border="0" alt="Nubular (Nu)" align="left" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_0960B85B.png" width="225" height="215" /&gt;&lt;/a&gt;Check out the herding code podcast and notes for more. I didn’t keep track of certain times for interesting bits in the beginning of the podcast, but &lt;a href="http://johnnycoder.com/blog/" target="_blank"&gt;Ben Griswold&lt;/a&gt; does an excellent job on the notes from the podcast.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://herdingcode.com/?p=272" target="_blank"&gt;&lt;strong&gt;http://herdingcode.com/?p=272&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=61707" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/RoundhousE/default.aspx">RoundhousE</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Agile/default.aspx">Agile</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>The Future of .NET Open Source Software Delivery</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/26/the-future-of-net-open-source-software-delivery.aspx</link><pubDate>Mon, 26 Jul 2010 18:57:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:61235</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>15</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=61235</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=61235</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/26/the-future-of-net-open-source-software-delivery.aspx#comments</comments><description>&lt;p&gt;Imagine we are awhile into the future. How do you get open source releases down to your project so that you can use them? How do you get the products down to your computer so that you can use them? Is it easier or harder than the way we’ve always done it before?&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;The Past and Present&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Before we can go there, let’s look at what we do now (the past is really the same for us here). Let’s say I want to use &lt;a href="http://nhforge.org" target="_blank"&gt;NHibernate&lt;/a&gt;. What do I do?&amp;#160; There are basically three paths we all follow in this process.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1. Never had product x before.&lt;/strong&gt; If I don’t have a current version, I have to go out and look for it. So what do I do? &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open a browser &lt;/li&gt;    &lt;li&gt;Find the site &lt;/li&gt;    &lt;li&gt;Find the downloads &lt;/li&gt;    &lt;li&gt;Find the particular download I want through the plethora of options that may be presented to me &lt;/li&gt;    &lt;li&gt;Download it &lt;/li&gt;    &lt;li&gt;Unzip it &lt;/li&gt;    &lt;li&gt;Then put it into my project references folder somewhere so I can keep it in source control with my project &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;2. Use the current version without upgrade.&lt;/strong&gt; If I have a current version, I may just copy it over and use it in my new project. Nevermind that it is two versions ago. I don’t want to take the time to upgrade because it could be a pain.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open file explorer and find the project with the old version &lt;/li&gt;    &lt;li&gt;Open file explorer and find the new project &lt;/li&gt;    &lt;li&gt;Create the structure I need for the references folder &lt;/li&gt;    &lt;li&gt;Copy the contents of the old project to the new project &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;3. Upgrade.&lt;/strong&gt; If I find a bug or I decide it’s time to upgrade to a newer version, how do I get it? Repeat the process of #&lt;strong&gt;1 (Never had product x before)&lt;/strong&gt; and getting the latest version. &lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Problems with the Present Method of Delivery&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;It&amp;#39;s slow.&lt;/strong&gt; How long did it take me to get all of that? Yeah, now multiply times every library I want to use.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Too many decisions.&lt;/strong&gt; I have to make way to many decisions to get the right product and right version downloaded and referenced into my project.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Dependencies may be hard to manage.&lt;/strong&gt; I may be using projects that depend on the same libraries. In the example above I am using &lt;a href="http://castleproject.org" target="_blank"&gt;Castle &lt;/a&gt;in my project. That got upgraded as well when I got the latest version of NHibernate. Now I may have to test the changes to that. What if the latest version of Castle Windsor I am using is not compatible with the latest version of NHibernate? I won’t see that issue necessarily until I try to run my code. I can try &lt;a href="http://ferventcoder.com/archive/2009/07/19/net-binding-redirects-ndash-updating-referenced-assemblies-without-recompiling-code.aspx" target="_blank"&gt;binding redirects&lt;/a&gt;, but there is no guarantee that that will work. So now I have a problem. I have to figure out what version of Castle Windsor to use so that I can use the latest version of NHibernate. And this is where dependency management is fully placed on me as a developer. I can now decide to move forward or just continue to use the old version.&lt;/p&gt;  &lt;div&gt;&lt;strong&gt;Too easy to just continue using the same version you have.&lt;/strong&gt; It&amp;#39;s way too easy to keep using the version you first downloaded and never learning about all of the awesomeness that comes with more current versions of the product.&lt;/div&gt;  &lt;div&gt;&amp;#160;&lt;/div&gt;  &lt;div&gt;&lt;/div&gt;  &lt;div&gt;&lt;/div&gt;  &lt;div&gt;Unfortunately for a lot of people, what I just mentioned with projects that have dependencies on the same things as other projects is the biggest barrier to using OSS (Open Source Software). So let’s talk about the future.&lt;/div&gt;  &lt;h4&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;The Future&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;So now that we have looked at how we currently do it, how will it be in the future?&lt;/p&gt;  &lt;p&gt;Open source developers will publish their latest releases to a central repository (possibly in addition to other methods of offering releases).&amp;#160; Then everyone can get their latest releases and develop from there.&lt;/p&gt;  &lt;p&gt;Same three scenarios.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1. Never had product x before.&lt;/strong&gt; Here’s the process.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Know what I’m looking for and confirm the name at the central repository &lt;/li&gt;    &lt;li&gt;open a command line &lt;/li&gt;    &lt;li&gt;type something to the effect of &lt;strong&gt;nu install nhibernate&lt;/strong&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;And I’m done. It’s all brought to me and sitting in my references folder of my project.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2. Use the current version without upgrade.&lt;/strong&gt; This is still an option. Same as in the present described above.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;3. Upgrade.&lt;/strong&gt; Here’s the process.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;open a command line &lt;/li&gt;    &lt;li&gt;type something to the effect of &lt;strong&gt;gem update&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;type something to the effect of &lt;strong&gt;nu install nhibernate&lt;/strong&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;h4&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;What Issues Does the Future Method of Delivery Address?&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;Speed.&lt;/strong&gt; The process is amazingly streamlined. We are talking seconds as compared to minutes of time to get something. I can now concentrate on what I want to do instead of spending all the time I was on just getting the packages I needed.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The decision tree is reduced.&lt;/strong&gt; How many decisions did I have to make to get what I needed in the present scenario? How about the future scenario? Greatly reduced.&amp;#160; Less choices to get what I want actually gets me to a decision faster.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;I immediately see the dependency changes.&lt;/strong&gt; All of the dependencies that are required come along nicely with NHibernate. I can immediately see that it downgraded my versions of Castle Core and Dynamic Proxy2. So now I know immediately that I have a problem between Castle Windsor and NHibernate using different versions. It doesn’t solve my problems on this, but it brings it to the surface. So now I can try something like the aforementioned binding redirects.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The process of upgrade became easier than use the current.&lt;/strong&gt; Another thing you may have noticed. It actually becomes easier to upgrade to the latest version as compared to #2 (&lt;strong&gt;Use the current version&lt;/strong&gt;). That will move people to upgrade, because people will choose the easiest path to get them on their way. And when everyone using the latest version, everyone wins.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;The Future Is Now&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Oh yeah, the future? It’s now. &lt;a href="http://groups.google.com/group/nu-net" target="_blank"&gt;http://groups.google.com/group/nu-net&lt;/a&gt; &lt;/p&gt;  &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px;" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:b1315f18-80af-46cc-893e-c98d9108f752" class="wlWriterEditableSmartContent"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=IvxAa4XURss" target="_new"&gt;&lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/video8a32a384f044_5F00_19915CAC.jpg" style="border-style:none;" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div&gt;&lt;/div&gt;  &lt;div&gt;&lt;/div&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Related Posts&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Before you comment about “cluttering” the ruby community, please be sure to read this (we’re with you on this):&amp;#160; &lt;a title="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" target="_blank"&gt;http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx" target="_blank"&gt;Gems - Package Management for .NET&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx" target="_blank"&gt;How To – Gems &amp;amp; .NET&lt;/a&gt; &amp;amp; &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx" target="_blank"&gt;How To – Gems &amp;amp; .NET - Dependencies (References)&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/20/how-to-uppercut-and-gems.aspx"&gt;Walkthrough - Create Gems Even Easier With a Conventional Build (UppercuT)!&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=61235" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/NHibernate/default.aspx">NHibernate</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/RoundhousE/default.aspx">RoundhousE</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>How To – UppercuT and Gems</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/20/how-to-uppercut-and-gems.aspx</link><pubDate>Tue, 20 Jul 2010 14:00:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:61136</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=61136</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=61136</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/20/how-to-uppercut-and-gems.aspx#comments</comments><description>&lt;p&gt;In a previous &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx" target="_blank"&gt;post&lt;/a&gt; I mentioned how I was going to show you how &lt;a href="http://projectuppercut.org/" target="_blank"&gt;UppercuT&lt;/a&gt; (UC) has the ability to make gems stupid simple to create and publish. You ask if gems can get any easier and to that I answer, &amp;ldquo;Why YES, they can!&amp;rdquo; How about just filling out the information for the gemspec, running a build and having a nice, shiny new gem ready for publishing?&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Rock The Gems&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Basically you want to get the latest release of &lt;a href="http://projectuppercut.org" target="_blank"&gt;UppercuT&lt;/a&gt;. You can &lt;a href="http://code.google.com/p/uppercut/downloads/list" target="_blank"&gt;download it&lt;/a&gt; or grab the source and compile.&lt;/p&gt;
&lt;p&gt;There are already &lt;a href="http://uppercut.pbworks.com/HowToUse" target="_blank"&gt;instructions&lt;/a&gt; &lt;a href="http://uppercut.googlecode.com/svn/trunk/docs" target="_blank"&gt;out&lt;/a&gt; there for how to get UC in your project, so I&amp;rsquo;m not going to concentrate on that.&lt;/p&gt;
&lt;p&gt;Once you upgrade (or add and get everything else set up), you want to have this gems folder at your top level (just under trunk or branch name).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_2EF23BA0.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="gems folder at the top level" border="0" alt="gems folder at the top level" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_5166CA5B.png" width="204" height="281" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In that gems folder you are going to find a file named something like the file below. Rename that file to your new &lt;em&gt;gemname&lt;/em&gt;.gemspec. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Once you have a gemspec file in a gems folder, your build server NOW needs to also have ruby and gems installed.&lt;/p&gt;
&lt;p&gt;Open that file in your favorite text editor and fill in the details. Here&amp;rsquo;s a &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx" target="_blank"&gt;good post&lt;/a&gt; on how to do that.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3E459DAF.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Rename the file to gemname.gemspec" border="0" alt="Rename the file to gemname.gemspec" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_5D884482.png" width="244" height="213" /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3C94D1DB.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Open in a text editor and edit the gemspec according to your needs" border="0" alt="Open in a text editor and edit the gemspec according to your needs" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_628A8231.png" width="244" height="201" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then just for having the gems folder with a gemspec in it, UC will automatically try to build the gem for you (the code in your code_drop/&lt;em&gt;projectname&lt;/em&gt; folder is brought over to code_drop/gems/lib folder).&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_41970F8A.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="code_drop/gems" border="0" alt="code_drop/gems" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_27C2D95B.png" width="226" height="244" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3860D03D.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Gem gets built with the correct version" border="0" alt="Gem gets built with the correct version" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_104E211E.png" width="466" height="351" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Removing All of the Other Output After the Gem is Built&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Once we are good with what we are getting back for the gem, we can start cleaning up. So we go into our build.custom (don&amp;rsquo;t have one? create it right next to the build folder) folder and create a file named &lt;strong&gt;gemsBuild.post.step&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_702D186C.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="build.custom/gemsbuild.post.step" border="0" alt="build.custom/gemsbuild.post.step" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_5658E23D.png" width="244" height="238" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s open the file and insert this:&lt;/p&gt;
&lt;pre class="xml" name="code"&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;
&amp;lt;project name=&amp;quot;CUSTOM POST GEMSBUILD&amp;quot; default=&amp;quot;go&amp;quot;&amp;gt;
  &amp;lt;!-- Project UppercuT - http://projectuppercut.org --&amp;gt;
  &amp;lt;property name=&amp;quot;build.config.settings&amp;quot; value=&amp;quot;__NONE__&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;include buildfile=&amp;quot;${build.config.settings}&amp;quot; if=&amp;quot;${file::exists(build.config.settings)}&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;dirs.current&amp;quot; value=&amp;quot;${directory::get-parent-directory(project::get-buildfile-path())}&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;path.to.toplevel&amp;quot; value=&amp;quot;..&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;folder.code_drop&amp;quot; value=&amp;quot;code_drop&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;dirs.drop&amp;quot; value=&amp;quot;${dirs.current}\${path.to.toplevel}\${folder.code_drop}&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  &amp;lt;property name=&amp;quot;folder.gems&amp;quot; value=&amp;quot;gems&amp;quot; overwrite=&amp;quot;false&amp;quot; /&amp;gt;
  
  &amp;lt;target name=&amp;quot;go&amp;quot; depends=&amp;quot;run_tasks&amp;quot; /&amp;gt;
  
  &amp;lt;target name=&amp;quot;run_tasks&amp;quot;&amp;gt;
    &amp;lt;delete&amp;gt;
      &amp;lt;fileset basedir=&amp;quot;${dirs.drop}/${folder.gems}&amp;quot; &amp;gt;
        &amp;lt;exclude name=&amp;quot;*.gem&amp;quot; /&amp;gt;
        &amp;lt;include name=&amp;quot;**/*&amp;quot; /&amp;gt;
      &amp;lt;/fileset&amp;gt;
    &amp;lt;/delete&amp;gt;
  &amp;lt;/target&amp;gt;
  
&amp;lt;/project&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Note: &lt;/strong&gt;Don&amp;rsquo;t like NAnt?&lt;strong&gt; &lt;/strong&gt;You can also use Ruby or PowerShell instead of NAnt to write your &lt;a href="http://uppercut.pbworks.com/CustomizeUsingExtensionPoints" target="_blank"&gt;custom extensions&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Now when we run our build again, we have a nice clean folder. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_35656F96.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="All clean - just the built gem. Nice..." border="0" alt="All clean - just the built gem. Nice..." src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_348D09AC.png" width="440" height="191" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;What If I Want to Change What Goes Into my Gem?&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Interested in influencing what goes INTO your gem in the first place? That&amp;rsquo;s a pretty good thing to be concerned with so that you don&amp;rsquo;t have all of your referenced assemblies sitting in there. Read about how to set up &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx" target="_blank"&gt;dependencies&lt;/a&gt;. Then you will create a file next to &lt;strong&gt;gemsbuild.post.step&lt;/strong&gt; named &lt;strong&gt;gemsPrepare.post.step&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3A67AD45.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="build.custom/gemsPrepare.post.step" border="0" alt="build.custom/gemsPrepare.post.step" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_249DC4E8.png" width="204" height="263" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In that file, you will insert something similar to the following (&lt;a href="http://roundhouse.googlecode.com/svn/trunk/build.custom/gemsPrepare.post.step" target="_blank"&gt;roundhouse file&lt;/a&gt;):&lt;/p&gt;
&lt;pre class="xml" name="code"&gt;&amp;lt;copy todir=&amp;quot;${dirs.drop}\${folder.gems}\lib&amp;quot;&amp;gt;
  &amp;lt;fileset basedir=&amp;quot;${dirs.drop}\${folder.gems}\lib\MSBuild&amp;quot;&amp;gt;
    &amp;lt;include name=&amp;quot;**/*.*&amp;quot; /&amp;gt;
  &amp;lt;/fileset&amp;gt;
&amp;lt;/copy&amp;gt;

&amp;lt;copy todir=&amp;quot;${dirs.drop}\${folder.gems}\lib&amp;quot;&amp;gt;
  &amp;lt;fileset basedir=&amp;quot;${dirs.drop}\${folder.gems}\lib\NAnt&amp;quot;&amp;gt;
    &amp;lt;include name=&amp;quot;**/*.*&amp;quot; /&amp;gt;
  &amp;lt;/fileset&amp;gt;
&amp;lt;/copy&amp;gt;

&amp;lt;delete&amp;gt;
  &amp;lt;fileset basedir=&amp;quot;${dirs.drop}\${folder.gems}\lib&amp;quot; &amp;gt;
    &amp;lt;include name=&amp;quot;ConsoleApp/**&amp;quot; /&amp;gt;
    &amp;lt;include name=&amp;quot;MSBuild/**&amp;quot; /&amp;gt;
    &amp;lt;include name=&amp;quot;NAnt/**&amp;quot; /&amp;gt;
  &amp;lt;/fileset&amp;gt;
&amp;lt;/delete&amp;gt;&lt;/pre&gt;
&lt;h4&gt;&lt;strong&gt;Learn More&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;With this knowledge, you shall build. Interested in more UppercuT? Check out the &lt;a href="http://groups.google.com/group/chucknorrisframework" target="_blank"&gt;ChuckNorris&lt;/a&gt; framework and &lt;a href="http://groups.google.com/group/chucknorrisframework/subscribe" target="_blank"&gt;join&lt;/a&gt; the group.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Related Posts&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Before you comment about &amp;ldquo;cluttering&amp;rdquo; the ruby community, please be sure to read this (we&amp;rsquo;re with you on this):&amp;nbsp; &lt;a title="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" target="_blank"&gt;http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx" target="_blank"&gt;Gems - Package Management for .NET&lt;/a&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx" target="_blank"&gt;How To &amp;ndash; Gems &amp;amp; .NET&lt;/a&gt; &amp;amp; &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx" target="_blank"&gt;How To &amp;ndash; Gems &amp;amp; .NET - Dependencies (References)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/26/the-future-of-net-open-source-software-delivery.aspx" target="_blank"&gt;The Future is Now!&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=61136" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>How To – Gems And .NET – Dependencies (References)</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx</link><pubDate>Sat, 17 Jul 2010 13:04:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:61109</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=61109</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=61109</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx#comments</comments><description>&lt;p&gt;In my &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx"&gt;last post&lt;/a&gt; I didn&amp;rsquo;t mention dependencies.&amp;nbsp; Dependencies are their own animal. They require a couple more things to be in place. Let&amp;rsquo;s talk about those things.&lt;/p&gt;
&lt;p&gt;In the .NET world, the dependency for compiled bits is usually an exact version of a reference.&lt;/p&gt;
&lt;p&gt;Let me explain. So for example, you have a reference to log4net, and you don&amp;rsquo;t &lt;a target="_blank" href="http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx"&gt;ILMerge&lt;/a&gt; it into your assembly. You now have a dependency that the DLL needs to be there and a particular version (outside of &lt;a target="_blank" href="http://ferventcoder.com/archive/2009/07/19/net-binding-redirects-ndash-updating-referenced-assemblies-without-recompiling-code.aspx"&gt;redirecting the bindings&lt;/a&gt;).&amp;nbsp; So what I&amp;rsquo;m getting at is that you require an exact version of a particular DLL. And what you really need is an exact name, version, culture, and public key token of a DLL.&amp;nbsp; But let&amp;rsquo;s keep things simple. It&amp;rsquo;s really the version and the name when culture is neutral (and the key shouldn&amp;rsquo;t change in the same version). So just the name and version.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Adding a Reference as a Dependency&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;For each reference you have to a library, you find out what version it is (assembly version) and then add that as a dependency. You can do that by cracking open reflector and taking a look at the actual assembly version.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_592293C5.png"&gt;&lt;img height="339" width="417" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_0A41CE66.png" alt="The assembly version" border="0" title="The assembly version" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Don&amp;rsquo;t use the properties. Neither file version or product version are going to be accurate here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_1645FAED.png"&gt;&lt;img height="328" width="329" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2E696548.png" alt="Properties of log4net.dll - file and product verions" border="0" title="Properties of log4net.dll - file and product verions" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;There is nothing out there that says that assembly, file and informational (also known as product) versions have to be the same. .NET relies on the assembly version for referencing. It makes sense that we should as well. Here&amp;rsquo;s a better example where things are different:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_226538C1.png"&gt;&lt;img height="320" width="277" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_41A7DF94.png" alt="Castle File Version 1.2.0.6623" border="0" title="Castle File Version 1.2.0.6623" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_47EEB622.png"&gt;&lt;img height="286" width="354" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_0DFF7336.png" alt="Castle Assembly Version 1.2.0.0" border="0" title="Castle Assembly Version 1.2.0.0" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;So what would I put in my gemspec? If your reference was to log4net version 1.2.10.0, then you need to assign a dependency to that exact version. Done like so:&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;spec.add_dependency(&amp;#39;log4net&amp;#39;,&amp;#39;= 1.2.10.0&amp;#39;)&lt;/pre&gt;
&lt;p&gt;I believe you add each referenced dependency to it&amp;rsquo;s own line.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Gem Exists?&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Now to the sanity check. Before you even add it as a dependency, you want to ensure that the gem exists.&lt;/p&gt;
&lt;p&gt;Go to &lt;a href="http://rubygems.org"&gt;http://rubygems.org&lt;/a&gt; and in the top right there is a search box. Search for your reference there.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_284185E0.png"&gt;&lt;img height="111" width="554" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_52CD40F0.png" alt="Search box on RubyGems.org" border="0" title="Search box on RubyGems.org" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;So let&amp;rsquo;s search for log4net to be sure it&amp;rsquo;s there.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3B528CBF.png"&gt;&lt;img height="292" width="404" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_2CC76ACD.png" alt="Search results for log4net" border="0" title="Search results for log4net" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Sweet! I can move on to my next reference because the right version of the gem exists.&lt;/p&gt;
&lt;p&gt;Keep in mind that the name of the gem may not be the one you are looking for and/or the name may be slightly different. For example. I have a gem for &lt;a target="_blank" href="http://projectuppercut.org/"&gt;UppercuT&lt;/a&gt;. The gem is named &lt;a target="_blank" href="http://rubygems.org/gems/uppercutbuild"&gt;uppercutbuild&lt;/a&gt; because there was already a gem named uppercut.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Gem Doesn&amp;rsquo;t Exist?&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Now if it&amp;rsquo;s not there, you can add it. When the actual authors want to start managing the gem, you can just add them as owners so they can push their own gems.&lt;/p&gt;
&lt;p&gt;To check the owners of a gem you type:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;gem owner &lt;em&gt;gemname&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3CF332C6.png"&gt;&lt;img height="123" width="244" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_5C35D999.png" alt="Gem owners for log4net" border="0" title="Gem owners for log4net" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;To add someone, according to the &lt;a target="_blank" href="http://rubygems.org/pages/gem_docs"&gt;gem docs&lt;/a&gt;, you issue this command (all on one line):&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;gem owner gemname --add &lt;em&gt;users.confirmed.email.address.for.ruby.gems@wherever.com&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And that&amp;rsquo;s it.&lt;/p&gt;
&lt;p&gt;You see how I am listed as the owner of the log4net gems? I am not really the developer, when I created the gem, I tied it as closely as I could to the apache project and the committers. When those guys are ready to own the gem, I have the specs for both 1.2.9 and 1.2.10 (both are commonly referred to without the last version octet) and I can just add them as owners.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Related Posts&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Before you comment about &amp;ldquo;cluttering&amp;rdquo; the ruby community, please be sure to read this (we&amp;rsquo;re with you on this):&amp;nbsp; &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" title="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx"&gt;http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx"&gt;Gems - Package Management for .NET&lt;/a&gt; &amp;amp; &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx"&gt;How To &amp;ndash; Gems &amp;amp; .NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/20/how-to-uppercut-and-gems.aspx"&gt;Walkthrough - Create Gems Even Easier With a Conventional Build (UppercuT)!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/26/the-future-of-net-open-source-software-delivery.aspx"&gt;The Future is Now!&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=61109" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>How To - Gems And .NET</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx</link><pubDate>Fri, 16 Jul 2010 15:30:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:61095</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>11</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=61095</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=61095</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx#comments</comments><description>&lt;p&gt;In my last &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx"&gt;post&lt;/a&gt; I showed gems being used for .NET. Now let&amp;rsquo;s talk about How.&amp;nbsp; Most of this stuff I&amp;rsquo;ve learned over the past two days, so if I have a mistake here or you have a better idea, please don&amp;rsquo;t hesitate to offer a better solution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The GemSpec&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The &lt;a target="_blank" href="http://docs.rubygems.org/read/chapter/20"&gt;Gem::Specification reference&lt;/a&gt; is your friend.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;In order to create a gem, you need to define a gem specification, commonly      &lt;br /&gt;called a &amp;ldquo;gemspec&amp;rdquo;. &lt;/p&gt;
&lt;p&gt;A gemspec consists of several &lt;em&gt;attributes&lt;/em&gt;. Some of these are required;       &lt;br /&gt;most of them are optional.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;From here you learn what is required and what will just get you there.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Setup&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;1. Create a folder named gems in your top level source directory.&lt;/p&gt;
&lt;p&gt;2. In that folder we are going to put our gemspec and version files. This is where we will store the files in source control (and one of them may become autogenerated). &lt;/p&gt;
&lt;p&gt;3. We will bring our gems folder to our compiled source folder after we build. Then we can add in the compiled output.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;GemSpec for .NET&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;1. Create a file named &lt;em&gt;project&lt;/em&gt;.gemspec. In our example it is &lt;strong&gt;&lt;em&gt;roundhouse&lt;/em&gt;&lt;/strong&gt;.gemspec. This is the most important file for this entire process. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_011CD097.png"&gt;&lt;img height="141" width="207" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_727224B1.png" alt="First two files" border="0" title="First two files" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;2. Open the gemspec in your favorite notepad editor. Copy the below in and change it for you needs.&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;version = File.read(File.expand_path(&amp;quot;../VERSION&amp;quot;,__FILE__)).strip

Gem::Specification.new do |spec|
  spec.platform    = Gem::Platform::RUBY
  spec.name        = &amp;#39;roundhouse&amp;#39;
  spec.version     = version
  spec.files = Dir[&amp;#39;lib/**/*&amp;#39;]

  spec.summary     = &amp;#39;RoundhousE - Professional Database Change and Versioning Management&amp;#39;
  spec.description = &amp;#39;RoundhousE is a Professional Database Change and Versioning Management tool&amp;#39;
  
  spec.authors           = [&amp;#39;Rob &amp;quot;FerventCoder&amp;quot; Reynolds&amp;#39;,&amp;#39;Pascal Mestdach&amp;#39;,&amp;#39;Jochen Jonckheere&amp;#39;,&amp;#39;Dru Sellers&amp;#39;]
  spec.email             = &amp;#39;chucknorrisframework@googlegroups.com&amp;#39;
  spec.homepage          = &amp;#39;http://projectroundhouse.org&amp;#39;
  spec.rubyforge_project = &amp;#39;roundhouse&amp;#39;
end&lt;/pre&gt;
&lt;p&gt;3. Just about everything with tick marks above you will edit to suit your needs. spec.name and spec.rubyforge_project (and the gemspec file name) should all match and not be an already existing project name on RubyForge.&lt;/p&gt;
&lt;p&gt;4. If you are a singular author, instead of &lt;em&gt;spec.authors&lt;/em&gt;, replace it with&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;spec.author = &amp;#39;somebody&amp;#39;&lt;/pre&gt;
&lt;p&gt;You can also set up description for multiple lines.&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;spec.description = &amp;lt;&amp;lt;-EOF
   Rake is a Make-like program implemented in Ruby. Tasks and
   dependencies are specified in standard Ruby syntax.
 EOF&lt;/pre&gt;
&lt;h4&gt;&lt;strong&gt;Dependencies On Other Libraries &lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;What we call references. You have a dependency on them existing for your library to run. See this &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx"&gt;post&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;VERSION file&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;This file is stupid simple. It&amp;rsquo;s a version number. I believe you can put whatever you want in here. Use the Assembly Version number here and stick with the .NET 4 octets of numbers (like &lt;em&gt;0.0.0.0) &lt;/em&gt;for version. &lt;/p&gt;
&lt;p&gt;1. Create a file named VERSION.&lt;/p&gt;
&lt;p&gt;2. Open it in your favorite editor and put the version you want here.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_46C15AB5.png"&gt;&lt;img height="119" width="244" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_57C58898.png" alt="VERSION with 0.5.0.242 as contents of file" border="0" title="VERSION with 0.5.0.242 as contents of file" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Libraries&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;1. Create a folder called &lt;strong&gt;lib&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_046E4272.png"&gt;&lt;img height="153" width="243" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_5CC7C647.png" alt="adding in lib folder" border="0" title="adding in lib folder" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;2. Copy &lt;strong&gt;YOUR&lt;/strong&gt; compiled DLLs into here. Your references (or dependencies) should not go here. See &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx"&gt;How To: Gems and .NET - Dependencies&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_486B52F9.png"&gt;&lt;img height="434" width="335" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_726B5121.png" alt="Put your dlls in lib folder" border="0" title="Put your dlls in lib folder" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Documentation&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Create a docs folder. In that folder goes your documentation. This could be release notes, a ReadMe, actual documentation. This area is open. Just make sure you add the docs folder to the specification.&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;spec.files = Dir[&amp;#39;lib/**/*&amp;#39;] + Dir[&amp;#39;docs/**/*&amp;#39;]&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Executables&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;If you want to give someone the ability to run an executable from the command line after installing your application with gems, and you use .NET, this is how you do it.&lt;/p&gt;
&lt;p&gt;1. Create a folder named &lt;strong&gt;bin&lt;/strong&gt; as a subdirectory next to the gemspec.&lt;/p&gt;
&lt;p&gt;2. Put your executable (and dependencies) into the bin directory.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_0536828F.png"&gt;&lt;img height="171" width="244" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_4494361F.png" alt="create a bin directory" border="0" title="create a bin directory" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_75B370BF.png"&gt;&lt;img height="244" width="222" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_65C42BFB.png" alt="stand alone executable in bin" border="0" title="stand alone executable in bin" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;3. Create your shim file (it&amp;rsquo;s named what you would type at the command line). I&amp;rsquo;ve called mine &lt;strong&gt;rh&lt;/strong&gt;. The one above allows ruby to be able to actually execute the Windows executable. Let&amp;rsquo;s open it and see what it looks like. This, we learned from an answer to a &lt;a target="_blank" href="http://stackoverflow.com/questions/3250794/gems-with-net-applications-how-do-i-set-up-the-executables-so-they-run-without"&gt;post on stack overflow&lt;/a&gt;.&amp;nbsp; This shim also goes in source control&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;result = system(File.dirname(__FILE__) + &amp;quot;/rh.exe &amp;quot; + ARGV.join(&amp;#39; &amp;#39;))
exit 1 unless result&lt;/pre&gt;
&lt;p&gt;4. Don&amp;rsquo;t forget that space at the end of your executable name.&lt;/p&gt;
&lt;p&gt;5. Open your gemspec. We need to make sure we have spec.executables filled out and our new directory added to our Files.&lt;/p&gt;
&lt;pre name="code" class="ruby"&gt;version = File.read(File.expand_path(&amp;quot;../VERSION&amp;quot;,__FILE__)).strip

Gem::Specification.new do |spec|
  spec.platform    = Gem::Platform::RUBY
  spec.name        = &amp;#39;roundhouse&amp;#39;
  spec.version     = version
  spec.files = Dir[&amp;#39;lib/**/*&amp;#39;] + Dir[&amp;#39;docs/**/*&amp;#39;] + Dir[&amp;#39;bin/**/*&amp;#39;]
  spec.bindir = &amp;#39;bin&amp;#39;
  spec.executables &amp;lt;&amp;lt; &amp;#39;rh&amp;#39;

  spec.summary     = &amp;#39;RoundhousE - Professional Database Change and Versioning Management&amp;#39;
  spec.description = &amp;#39;RoundhousE is a Professional Database Change and Versioning Management tool&amp;#39;
  
  spec.authors           = [&amp;#39;Rob &amp;quot;FerventCoder&amp;quot; Reynolds&amp;#39;,&amp;#39;Pascal Mestdach&amp;#39;,&amp;#39;Jochen Jonckheere&amp;#39;,&amp;#39;Dru Sellers&amp;#39;]
  spec.email             = &amp;#39;chucknorrisframework@googlegroups.com&amp;#39;
  spec.homepage          = &amp;#39;http://projectroundhouse.org&amp;#39;
  spec.rubyforge_project = &amp;#39;roundhouse&amp;#39;
end&lt;/pre&gt;
&lt;h4&gt;&lt;strong&gt;Build And Push&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;You must already have &lt;a target="_blank" href="http://www.ruby-lang.org/en/downloads/"&gt;Ruby&lt;/a&gt; (1.8.6 or better) and &lt;a target="_blank" href="http://rubygems.org/pages/download"&gt;RubyGems&lt;/a&gt; installed and/or updated to at least 1.3.7 (gem update &amp;ndash;system). You will want to use a RubyInstaller version of Ruby under the &lt;strong&gt;Ruby on Windows &lt;/strong&gt;section.&lt;/p&gt;
&lt;p&gt;1. Open a command line and type &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;gem build &lt;em&gt;&lt;strong&gt;project&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;2. If there are no issues, you should have a gem for upload.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_237113B8.png"&gt;&lt;img height="83" width="244" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_378A3041.png" alt="roundhouse-0.5.0.242.gem" border="0" title="roundhouse-0.5.0.242.gem" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_4AA0473E.png"&gt;&lt;img height="83" width="485" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_29ACD497.png" alt="roundhouse-0.5.0.242.gem" border="0" title="roundhouse-0.5.0.242.gem" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;3. Create an account with &lt;a target="_blank" href="http://rubygems.org/"&gt;RubyGems.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;4. Ensure your project name isn&amp;rsquo;t already taken by searching for it. If it is you will need to rename your gemspec file, spec.name, and spec.rubyforge_project to a name that is not taken.&lt;/p&gt;
&lt;p&gt;5. Type the following command:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;gem push &lt;strong&gt;&lt;em&gt;project&lt;/em&gt;&lt;/strong&gt;_&lt;strong&gt;&lt;em&gt;someversionnumbers&lt;/em&gt;&lt;/strong&gt;.gem&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_3DD106CF.png"&gt;&lt;img height="57" width="244" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_215414EF.png" alt="gem push roundhouse" border="0" title="gem push roundhouse" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;6. Let it finish. Head out to rubygems.org and look at your shiny, new gem!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_077FDEC0.png"&gt;&lt;img height="244" width="240" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_71694D60.png" alt="sweet!" border="0" title="sweet!" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;7. Test it.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;gem install &lt;em&gt;&lt;strong&gt;project&lt;/strong&gt;&lt;/em&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;gem uninstall &lt;strong&gt;&lt;em&gt;project&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;FollowUp&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In my next post, I&amp;rsquo;ll show you how to make it stupid simple. &lt;a target="_blank" href="http://projectuppercut.org"&gt;UppercuT&lt;/a&gt; will support this feature natively so all you have to do is have a directory called gems (at the top level of your source) with the gemspec. During the build, it will create the VERSION file and copy your output the the lib folder (custom step for bin folder will be necessary). Then it will execute a step that builds the gem. All for the price of &amp;ldquo;build&amp;rdquo;. That&amp;rsquo;s coming up in the next blog post. In the meantime, feel free to ask any questions you have. Stay tuned&amp;hellip;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Related Posts&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Before you comment about &amp;ldquo;cluttering&amp;rdquo; the ruby community, please be sure to read this (we&amp;rsquo;re with you on this):&amp;nbsp; &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" title="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx"&gt;http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx"&gt;Gems - Package Management for .NET&lt;/a&gt; &amp;amp; &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx"&gt;How To &amp;ndash; Gems &amp;amp; .NET - Dependencies (References)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/20/how-to-uppercut-and-gems.aspx"&gt;Walkthrough - Create Gems Even Easier With a Conventional Build (UppercuT)!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/26/the-future-of-net-open-source-software-delivery.aspx"&gt;The Future is Now!&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=61095" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>Gems - Package Management For .NET</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx</link><pubDate>Fri, 16 Jul 2010 04:27:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:61091</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>18</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=61091</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=61091</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/07/15/gems-package-management-for-net.aspx#comments</comments><description>&lt;p&gt;The Ruby community has enjoyed a great user experience with a package management system they use called Gems. A gem is a package (or a library), compressed with some additional metadata, and can be either source files or binaries. Let&amp;rsquo;s focus on binary gems. We have the same concept in .NET (DLLs/EXEs). You may have references to other DLLs. When you want to update a reference you are using on a project, you may also need to update its dependencies as well. And so on and so forth. A package management project is meant to help make that easier. It&amp;rsquo;s actually really hard to explain what gems or package management without just showing you. So take a look here:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_5AC297E8.png"&gt;&lt;img height="181" width="455" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_0456631C.png" alt="gem install sidepop - installed log4net - installed sidepop" border="0" title="gem install sidepop - installed log4net - installed sidepop" style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I type:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;gem install sidepop&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And that&amp;rsquo;s it. It looks and sees that I have a dependency on log4net. Notice how it nicely just pulls down log4net version 1.2.10 as well? &lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Background&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;I can count on one hand all of the package management projects that have been &lt;a target="_blank" href="http://strangelights.com/blog/archive/2010/05/16/1661.aspx"&gt;started&lt;/a&gt; &lt;a target="_blank" href="http://github.com/dagda1/horn_src"&gt;for&lt;/a&gt; &lt;a target="_blank" href="http://github.com/phatboyg/nu"&gt;.NET&lt;/a&gt;. &lt;a target="_blank" href="http://twitter.com/drusellers"&gt;Dru Sellers&lt;/a&gt;, &lt;a target="_blank" href="http://twitter.com/phatboyg"&gt;Chris Patterson&lt;/a&gt;, and I have talked about package management stuff from time to time. Dru and Chris have been a part of one project (&lt;a target="_blank" href="http://github.com/phatboyg/nu"&gt;Nu&lt;/a&gt;) that has been started several times to start to answer this question. We&amp;rsquo;ve participated on the mailing list for &lt;a target="_blank" href="http://groups.google.com/group/horn-development"&gt;HornGet&lt;/a&gt;. At one point I casually asked why we couldn&amp;rsquo;t just use gems. Other people out there have probably stated the same thing. But no one has really carried the idea forward. Until now.&lt;/p&gt;
&lt;p&gt;Yesterday Dru asked for a &lt;a target="_blank" href="http://code.google.com/p/uppercut/issues/detail?id=16"&gt;gem-ify&lt;/a&gt; feature for &lt;a target="_blank" href="http://projectuppercut.org"&gt;UppercuT&lt;/a&gt;. We started talking and looking at how easy it is to create a gem. Then we figured out how to make the &lt;a target="_blank" href="http://stackoverflow.com/questions/3250794/gems-with-net-applications-how-do-i-set-up-the-executables-so-they-run-without"&gt;executables&lt;/a&gt; piece work as well. This is where you can install a gem and then call the executable from the command line anywhere and get output. From the &lt;a target="_blank" href="http://groups.google.com/group/chucknorrisframework/browse_thread/thread/4f0c0deeadbd61d4"&gt;thread&lt;/a&gt; on &lt;a target="_blank" href="http://groups.google.com/group/chucknorrisframework/"&gt;ChuckNorris&lt;/a&gt; where we talked about this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Here is something you might find pretty interesting: &lt;a target="_blank" href="http://rubygems.org/gems/roundhouse"&gt;http://rubygems.org/gems/roundhouse&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://rubygems.org/gems/roundhouse"&gt;&lt;/a&gt;If you have ruby installed, you can install roundhouse now from the command line:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;gem install roundhouse&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This gives you the opportunity to type this anywhere:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;rh &amp;lt;options&amp;gt;&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4&gt;&lt;strong&gt;Why Should I Care?&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;If you work with Open Source, you know how much of a pain it can be to update your references. You update one library, say NHibernate, and find out that you also need to update your references to Castle. And possibly, you might then need to update your references to log4net. It can be a painful process. This is the start of answering that question.&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;&lt;strong&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_18034CB0.png"&gt;&lt;img height="221" width="404" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_76A3A713.png" align="right" alt="Right now it&amp;#39;s starting to look like the answer for gems in .NET is just gems." border="0" title="Right now it&amp;#39;s starting to look like the answer for gems in .NET is just gems." style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;margin-left:0px;border-left-width:0px;margin-right:0px;" /&gt;&lt;/a&gt;&lt;/strong&gt;Why Should I Get Excited?&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;It sounds like &lt;a target="_blank" href="http://twitter.com/jeremydmiller/statuses/18628012354"&gt;Jeremy Miller&lt;/a&gt; among others are getting excited about this. And why not? We&amp;rsquo;ve been trying to answer the gems question since Ruby made it so easy. &lt;/p&gt;
&lt;p&gt;The implications of this are awesome! I still haven&amp;rsquo;t fully grokked what we&amp;rsquo;ve just opened up.&amp;nbsp; But it&amp;rsquo;s huge! &lt;/p&gt;
&lt;p&gt;It doesn&amp;rsquo;t get us all of the way there to updating the references in our source code folder. That&amp;rsquo;s where projects, like Nu, are going to start showing up that leverage the idea of using the gems infrastructure to get the libraries from the ruby folders to your source code folder. You are going to see UppercuT come back soon with taking care of getting your gem built with the proper version.&lt;/p&gt;
&lt;p&gt;This is the start of something very cool.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h4&gt;&lt;strong&gt;Related Posts&lt;/strong&gt;&lt;/h4&gt;
&lt;p&gt;Before you comment about &amp;ldquo;cluttering&amp;rdquo; the ruby community, please be sure to read this (we&amp;rsquo;re with you on this):&amp;nbsp; &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx" title="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx"&gt;http://devlicio.us/blogs/rob_reynolds/archive/2010/07/19/gems-for-net-community-response.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/16/how-to-gems-and-net.aspx"&gt;How To - Gems and .NET&lt;/a&gt;&amp;nbsp; and &lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/17/how-to-gems-and-net-dependencies-references.aspx"&gt;How To &amp;ndash; Gems &amp;amp; .NET - Dependencies (References)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/20/how-to-uppercut-and-gems.aspx"&gt;Walkthrough &amp;ndash; Create Gems Even Easier With a Conventional Build (UppercuT)!&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://devlicio.us/blogs/rob_reynolds/archive/2010/07/26/the-future-of-net-open-source-software-delivery.aspx"&gt;The Future is Now!&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=61091" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/RoundhousE/default.aspx">RoundhousE</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/SidePOP/default.aspx">SidePOP</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Gems/default.aspx">Gems</category></item><item><title>Deciding On Features For Open Source</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/05/15/deciding-on-features-for-open-source.aspx</link><pubDate>Sat, 15 May 2010 23:16:48 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:58884</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=58884</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=58884</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/05/15/deciding-on-features-for-open-source.aspx#comments</comments><description>&lt;blockquote&gt;   &lt;p&gt;“Open source feature selection is subjective.”&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_4B21E031.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;margin-left:0px;border-left-width:0px;margin-right:0px;" title="Pick a feature" border="0" alt="Pick a feature" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_0ADBA0EA.png" width="244" height="218" /&gt;&lt;/a&gt; An interesting question was posed to me recently at a &lt;a href="http://devlicio.us/blogs/rob_reynolds/archive/2010/05/15/chicago-alt-net-presentation-aftermath.aspx" target="_blank"&gt;presentation&lt;/a&gt; - “How do you decide what features to include in the [open source] projects you manage?”&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Is It Objective?&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;I’d like to say that it’s really objective and that we vote on features and look at what carries the most interest of the populace. Actually no I wouldn’t. I don’t think I would enjoy working on open source (OSS) as much if it someone else decided on what features I should include. It already works that way at work. I don’t want to come home from work and work on things that others decide for me unless I’m being paid for those features. &lt;/p&gt;  &lt;p&gt;So how do I decide on features for our open source projects? I think there are at least three paths to feature selection and they are not necessarily mutually exclusive.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Feature Selection IS the Set of Features For the Domain&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Your product, in whatever domain it is in, needs to have the basic set of features that make it answer the needs of that domain. That is different for every product, but if you take for example a build tool, at the very least it needs to be able to compile source. And these basic needed features are not always objective either. Two people could completely disagree what makes for a required feature to meet a domain need for a product. Even one person may disagree with himself/herself about what features are needed based on different timeframes. So that leads us down to subjective.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Feature Selection IS An Answer To Competition&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Some features go in because the competition adds a feature that may draw others away from your product offering. With OSS, there are all free alternatives, so if your competition adds a killer feature and you don’t, there isn’t much other than learning (how to use the other product) to move your customers off to the competition. If you want to keep your customers, you need to be ready to answer the questions of adding the features your competition has added.&amp;#160; &lt;/p&gt;  &lt;p&gt;Sometimes it’s about adding a feature that your competition charges for, but you add it for free. That draws people to the free alternative – so sometimes that adds a motivation to select a feature. Sometimes it’s because you want those features in your product, either to learn how you can answer the question of how to do something and/or because you have a need for that feature and you want it in your product. That also leads us down the road to subjective.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Feature Selection IS Subjective&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;I decide on features based on what I want to see in the product I am working on. Things I am interested in or have the biggest need for usually get picked first, with things that do not interest me either coming later or not at all. Most people get interested in an area of OSS because it solves a need for them and/or they find it interesting. If one of these two things is not happening and they are not being paid, it’s likely that person will move on to something else they find interesting or just stop OSS altogether.&lt;/p&gt;  &lt;p&gt;OSS feature selection is just that – subjective. If it wasn’t, it wouldn’t be opinionated and it wouldn’t have a personality about it. Most people like certain OSS because they like where the product is going or the personalities behind the product. &lt;/p&gt;  &lt;p&gt;For me, I want my products to be easy to use and solve an important problem. If it takes you more than 5-10 minutes to learn how to use my product, I know you are probably going somewhere else. So I pick features that make the product easy to use and learn, and those are not always the simplest features to work on. I work for conventions and make the product opinionated, because I think that is what makes using a product easier, if it already works with little setup. And I like to provide the ability for power users to get in and change the conventions to suit their needs. So those are required features for me above and beyond the domain features. I like to think I do a pretty good job at this. Usually when I present on something I’ve created, I like seeing people’s eyes light up when they see how simple it is to set up a powerful product like &lt;a href="http://projectuppercut.org/" target="_blank"&gt;UppercuT&lt;/a&gt;.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;Patches And/Or Donations&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;But remember before you say I’m a bad person or won’t use my product, I’ll always accept patches or I might like the feature that you suggest. If you like using the products I provide and they solve a problem for you the two biggest compliments you can provide are either a patch or a &lt;a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;amp;hosted_button_id=4410250" target="_blank"&gt;donation&lt;/a&gt;.&amp;#160; If you think the product is great, but if it could do this one other thing, it would be awesome(!), then consider contacting me and providing a patch, or consider contacting me with a donation and a request to put the feature in. And alternatively, if it’s a big feature, you could hire me to work on the product to make it even better.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;&lt;u&gt;What If There Are Multiple Committers?&lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;In the question of multiple committers, I choose that someone always makes the ultimate decision to select whether a feature should be part of a product or not. But for other OSS project maybe this is not the case. If there is not an ultimate decision maker, then there is the possibility of either adding every feature suggested or having a deadlock on two conflicting features. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So let me pose this question. If you work on Open Source, how do you decide on what features to put in your open source projects? How do you decide what doesn’t belong? What do you do when there are conflicting features?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=58884" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/HowTo/default.aspx">HowTo</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category></item><item><title>Chicago Alt.NET Presentation Aftermath</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/05/15/chicago-alt-net-presentation-aftermath.aspx</link><pubDate>Sat, 15 May 2010 21:29:50 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:58883</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=58883</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=58883</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/05/15/chicago-alt-net-presentation-aftermath.aspx#comments</comments><description>&lt;p&gt;Right now I’m on the train on my way back from Chicago. It’s interesting to be drinking a Corona and hanging out in the lounge while I’m watching the miles go by. Chicago was a nice time. I had never been so we decided to vacation in Chicago and see the sites – posts coming at the other &lt;a href="http://reynoldsfamilyadventures.blogspot.com/" target="_blank"&gt;blog&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;My presentation was on &lt;a href="http://projectuppercut.org/" target="_blank"&gt;UppercuT&lt;/a&gt;. It was a small group that came to the presentation which makes for an more engaging audience. Overall it was a pretty good presentation and I enjoyed it. We got a little comfortable and ventured off track for a few minutes and talked about &lt;a href="http://projectroundhouse.org" target="_blank"&gt;RoundhousE&lt;/a&gt; as well. I would definitely come back out to Chicago and present or go to a Code Camp.&lt;/p&gt;  &lt;p&gt;The slides for the presentation are here: &lt;a href="http://code.google.com/p/uppercut/source/browse/trunk/docs/UppercuTSteps.pptx" target="_blank"&gt;presentation slides&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;I had a good question that came about when working on Open Source. I’ll catch that in the next post.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=58883" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Events/default.aspx">Events</category></item><item><title>UppercuT and Mercurial (hg)</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/04/21/uppercut-and-mercurial-hg.aspx</link><pubDate>Thu, 22 Apr 2010 04:33:30 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:57573</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=57573</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=57573</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/04/21/uppercut-and-mercurial-hg.aspx#comments</comments><description>&lt;p&gt;I mentioned this awhile back on twitter, but &lt;a href="http://projectuppercut.org" target="_blank"&gt;UppercuT&lt;/a&gt; (UC) has support for Mercurial for versioning your assemblies.&lt;/p&gt;  &lt;p&gt;In the settings file, all you need to do it tell UC to use hg.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/uppercut_5F00_HG_5F00_6CF0AFA0.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="hg goes in source_control_type" border="0" alt="hg goes in source_control_type" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/uppercut_5F00_HG_5F00_thumb_5F00_56BA944E.png" width="644" height="58" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When you build your assemblies, they will use the changeset number in the version, and in the informational version, you get the hash, just like you do when using Git.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/uppercut_5F00_hg_5F00_dll_5F00_7C4411AF.png"&gt;&lt;img style="border-right-width:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Sweet mother Mary, look what we have here!" border="0" alt="Sweet mother Mary, look what we have here!" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/uppercut_5F00_hg_5F00_dll_5F00_thumb_5F00_49740B3B.png" width="347" height="251" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Pretty sweet. By the way, UC also supports .NET 4.0 as of last week. With this knowledge you shall build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=57573" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category></item><item><title>Chuck Norris Welcomes You</title><link>http://devlicio.us/blogs/rob_reynolds/archive/2010/04/17/chuck-norris-welcomes-you.aspx</link><pubDate>Sat, 17 Apr 2010 14:57:21 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:57410</guid><dc:creator>Rob Reynolds</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/rsscomments.aspx?PostID=57410</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/rob_reynolds/commentapi.aspx?PostID=57410</wfw:comment><comments>http://devlicio.us/blogs/rob_reynolds/archive/2010/04/17/chuck-norris-welcomes-you.aspx#comments</comments><description>&lt;blockquote&gt;   &lt;p&gt;&amp;#160;&lt;a href="http://www.codesqueeze.com/the-ultimate-top-25-chuck-norris-the-programmer-jokes/" target="_blank"&gt;Chuck Norris doesn’t program with a keyboard. He stares the computer down until it does what he wants.&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_62A08492.png"&gt;&lt;img style="border-right-width:0px;margin:10px 0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;" title="Chuck Norris welcomes you" border="0" alt="Chuck Norris welcomes you" align="right" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_reynolds/image_5F00_thumb_5F00_42091F13.png" width="174" height="320" /&gt;&lt;/a&gt; All things need a name. We’ve tossed around a bunch of names for the framework of tools we’ve been working on, but one we kept coming back to was Chuck Norris. Why did we choose Chuck Norris? Well Chuck Norris sort of chose us. Everything we talked about, the name kept drawing us closer to it. We couldn’t escape Chuck Norris, no matter how hard we tried. So we gave in.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://www.chucknorrisfacts.com/node/101" target="_blank"&gt;Chuck Norris can divide by zero.&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h4&gt;&lt;strong&gt;What is the &lt;/strong&gt;&lt;a href="http://groups.google.com/group/chucknorrisframework" target="_blank"&gt;&lt;strong&gt;Chuck Norris Framework&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;?&lt;u&gt; &lt;/u&gt;&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;&lt;a href="http://twitter.com/drusellers" target="_blank"&gt;@drusellers&lt;/a&gt; and I have been working on a variety of tools:&lt;/p&gt;  &lt;p&gt;WarmuP - &lt;a href="http://github.com/chucknorris/warmup" target="_blank"&gt;http://github.com/chucknorris/warmup&lt;/a&gt; (Template your entire project/solution and create projects ready to code - From Zero to a Solution with everything in seconds. Your templates, your choices.)     &lt;br /&gt;UppercuT - &lt;a href="http://projectuppercut.org/"&gt;http://projectuppercut.org&lt;/a&gt; (Build with Conventions - Professional Builds in Moments, Not Days!) | Code also at &lt;a title="http://github.com/chucknorris/uppercut" href="http://github.com/chucknorris/uppercut" target="_blank"&gt;http://github.com/chucknorris/uppercut&lt;/a&gt;     &lt;br /&gt;DropkicK - &lt;a href="http://github.com/chucknorris/dropkick" target="_blank"&gt;http://github.com/chucknorris/dropkick&lt;/a&gt; (Deploy Fluently)     &lt;br /&gt;RoundhousE - &lt;a href="http://projectroundhouse.org/"&gt;http://projectroundhouse.org&lt;/a&gt; (Professional Database Management with Versioning) | Code also at &lt;a title="http://github.com/chucknorris/roundhouse" href="http://github.com/chucknorris/roundhouse" target="_blank"&gt;http://github.com/chucknorris/roundhouse&lt;/a&gt;     &lt;br /&gt;SidePOP - &lt;a href="http://sidepop.googlecode.com/"&gt;http://sidepop.googlecode.com&lt;/a&gt; (Does your application need to check email?)     &lt;br /&gt;HeadlocK - &lt;a href="http://github.com/chucknorris/headlock" target="_blank"&gt;http://github.com/chucknorris/headlock&lt;/a&gt; (Hash a directory so you can later know if anything has changed) &lt;/p&gt;  &lt;p&gt;Others – still in concept or vaporware &lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;What’s in a Name?&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;People ask why we choose such violent names for each tool of our framework? At first it was about whipping your code into shape, but after awhile the naming became, “How can we relate this to Chuck Norris?” People also ask why we uppercase the last letter of each name. Well, that’s more about making you ask questions…but there are a few reasons for it. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://www.codesqueeze.com/the-ultimate-top-25-chuck-norris-the-programmer-jokes" target="_blank"&gt;Project managers never ask Chuck Norris for estimations…ever.&lt;/a&gt; &lt;/p&gt;    &lt;p&gt;&lt;a href="http://www.codesqueeze.com/the-ultimate-top-25-chuck-norris-the-programmer-jokes/" target="_blank"&gt;The class object inherits from Chuck Norris&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;&lt;a href="http://www.codesqueeze.com/the-ultimate-top-25-chuck-norris-the-programmer-jokes/" target="_blank"&gt;Chuck Norris doesn’t need garbage collection because he doesn’t call .Dispose(), he calls .DropKick()&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h4&gt;&lt;strong&gt;Call To Action&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;So what are you waiting for? Join the &lt;a href="http://groups.google.com/group/chucknorrisframework" target="_blank"&gt;Google group&lt;/a&gt; today, download and play with the tools. &lt;/p&gt;  &lt;p&gt;And lastly, welcome to Chuck Norris. Or should I say Chuck Norris welcomes you…&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=57410" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/RoundhousE/default.aspx">RoundhousE</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/SidePOP/default.aspx">SidePOP</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/UppercuT/default.aspx">UppercuT</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Development/default.aspx">Development</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/Tools/default.aspx">Tools</category><category domain="http://devlicio.us/blogs/rob_reynolds/archive/tags/.NET/default.aspx">.NET</category></item></channel></rss>