<?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>Derik Whittaker : NuGet</title><link>http://devlicio.us/blogs/derik_whittaker/archive/tags/NuGet/default.aspx</link><description>Tags: NuGet</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>Nuget Packages for Typescript Definition Files</title><link>http://devlicio.us/blogs/derik_whittaker/archive/2013/02/24/nuget-packages-for-typescript-definition-files.aspx</link><pubDate>Sun, 24 Feb 2013 12:09:10 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:89474</guid><dc:creator>Derik Whittaker</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/derik_whittaker/rsscomments.aspx?PostID=89474</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/derik_whittaker/commentapi.aspx?PostID=89474</wfw:comment><comments>http://devlicio.us/blogs/derik_whittaker/archive/2013/02/24/nuget-packages-for-typescript-definition-files.aspx#comments</comments><description>&lt;p&gt;If you have been using TypeScript you should be aware the definition file repository maintained by Boris Yankov called &lt;a href="https://github.com/borisyankov/DefinitelyTyped"&gt;DefinitelyTyped&lt;/a&gt;.&amp;#160; This repository is awesome because it saves so much time and effort when working with 3rd party libraries with Typescript.&lt;/p&gt;  &lt;p&gt;However, as great as this repository is it has always been painful getting the actual d.ts files for each library.&amp;#160; You would have to go to the site, navigate to the file, save the file and add it to your solution…. this sucked.&amp;#160; &lt;/p&gt;  &lt;p&gt;If only there was a tool to help automate this?&amp;#160; Oh wait there is, it is called &lt;a href="https://nuget.org"&gt;Nuget&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;I got the bright idea to start creating some Nuget packages around the d.ts files I am using so I posted them &lt;a href="https://nuget.org/packages?q=Derik+whittaker"&gt;here&lt;/a&gt;.&amp;#160; The only problem with this is I was only creating the packages I cared about but more importantly I was creating these by hand and that is time consuming and I am lazy.&lt;/p&gt;  &lt;p&gt;But yesterday I received some awesome news from &lt;a href="http://staxmanade.blogspot.com/"&gt;Jason Jarret&lt;/a&gt; (aka &lt;a href="https://twitter.com/staxmanade"&gt;@staxmanade&lt;/a&gt;) on twitter as seen below&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/derik_5F00_whittaker/image_5F00_74B5DA5F.png"&gt;&lt;img title="image" style="border-top:0px;border-right:0px;border-bottom:0px;border-left:0px;display:inline;" border="0" alt="image" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/derik_5F00_whittaker/image_5F00_thumb_5F00_41E8649C.png" width="644" height="180" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;This is awesome news.&amp;#160; Now all the d.ts files hosted in the DefinitelyTyped repository now have Nuget pacakges… w00t!&lt;/p&gt;  &lt;p&gt;To see the list of Nuget packages follow this &lt;a href="https://nuget.org/packages?q=definitelytyped"&gt;link&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Awesome work Jason,&lt;/p&gt;  &lt;p&gt;Till Next Time,&lt;/p&gt;  &lt;p&gt;P.S. I will be taking my nuget packages offline very shortly as they should not be used anymore.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=89474" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/.Net/default.aspx">.Net</category><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/Best+Practice/default.aspx">Best Practice</category><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/ASP.Net+MVC/default.aspx">ASP.Net MVC</category><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/NuGet/default.aspx">NuGet</category></item><item><title>Issues w/ OctoPack and ReSharper</title><link>http://devlicio.us/blogs/derik_whittaker/archive/2012/11/27/issues-w-octopack-and-resharper.aspx</link><pubDate>Wed, 28 Nov 2012 00:08:27 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:70539</guid><dc:creator>Derik Whittaker</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/derik_whittaker/rsscomments.aspx?PostID=70539</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://devlicio.us/blogs/derik_whittaker/commentapi.aspx?PostID=70539</wfw:comment><comments>http://devlicio.us/blogs/derik_whittaker/archive/2012/11/27/issues-w-octopack-and-resharper.aspx#comments</comments><description>&lt;p&gt;Today begins the exercise of setting up an &lt;a&gt;Octopus Deploy server&lt;/a&gt; with the goal of using this for our deployments.&amp;#160; Of course to get started I headed out and started reading the various documentation.&amp;#160; When I got the part about creating the nuget packes via &lt;a href="https://github.com/OctopusDeploy/OctoPack"&gt;OctoPack&lt;/a&gt; I quickly ran into the following issue.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;The process cannot access the file &amp;#39;E:\Development\Source\PATHGOESHERE\_ReSharper.ProjectNamehere\PersistentCaches\000003.log&amp;#39; because it is being used by another process.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Now of course I know exactly why this is happening, its because when trying to create my NuGet package OctoPack is just grabbing ALL the folders/files under my source tree and there is a folder there called _ReSharper.ProjectNameHere which of course has locked files as they are being used… &lt;/p&gt;  &lt;p&gt;Sadly though after a few minutes of googling and looking around on the Octopus site I did not find a quick solution :(&amp;#160; However, if you read the documentation you will know that OctoPack simply adds a new .target (located under packages\OctoPack.1.0.109\targets) (the version may be different for you) file to your .proj file and it is this .target file which is causing the issue.&lt;/p&gt;  &lt;p&gt;After spending some time digging and poking around the .target file I finally came up w/ a solution I could live with.&amp;#160; &lt;/p&gt;  &lt;p&gt;What I needed to do was use the –Exclude flag for the NuGet.exe command to tell NuGet to skip this folder. I did this by 1st creating a global property and 2nd updating the line which makes the NuGet command line call.&lt;/p&gt;  &lt;p&gt;Adding the Property to the .target file&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/derik_5F00_whittaker/image_5F00_208A37B0.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/derik_5F00_whittaker/image_5F00_thumb_5F00_2447DC80.png" width="570" height="221" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The trick above is that NuGet expects a file name, not a folder so you MUST use the **\ in front of the folder and the \** as the end.&lt;/p&gt;  &lt;p&gt;Updating the command line call to Nuget.exe (this is line 122 in my file)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/derik_5F00_whittaker/image_5F00_6E62E765.png"&gt;&lt;img style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" title="image" border="0" alt="image" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/derik_5F00_whittaker/image_5F00_thumb_5F00_6D8A817B.png" width="657" height="80" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When I saved my .target file and rebuild the world was a happy place.&lt;/p&gt;  &lt;p&gt;Now, I did log a bug for the OctoPack team to resolve this in a better manor, but until then this will work.&lt;/p&gt;  &lt;p&gt;Till next time,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=70539" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/.Net/default.aspx">.Net</category><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/Best+Practice/default.aspx">Best Practice</category><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/NuGet/default.aspx">NuGet</category><category domain="http://devlicio.us/blogs/derik_whittaker/archive/tags/Octopus+Build/default.aspx">Octopus Build</category></item></channel></rss>