<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to use a tool installed by Nuget in your build scripts</title>
	<atom:link href="http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/</link>
	<description></description>
	<lastBuildDate>Thu, 14 Mar 2013 03:50:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: Mark</title>
		<link>http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/#comment-291</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 18 Dec 2012 20:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/#comment-291</guid>
		<description>I found an easier fix. Apparently &#039;CD&quot; does work with wildcards. So in your build event you do:
CD &quot;$(SolutionDir)packagesMyAwesomeTool*tools&quot;
CALL MyAwesomeTool.cmd
</description>
		<content:encoded><![CDATA[<p>I found an easier fix. Apparently &#8216;CD&#8221; does work with wildcards. So in your build event you do:<br />
CD &#8220;$(SolutionDir)packagesMyAwesomeTool*tools&#8221;<br />
CALL MyAwesomeTool.cmd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray O'Neill</title>
		<link>http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/#comment-182</link>
		<dc:creator>Ray O'Neill</dc:creator>
		<pubDate>Sun, 26 Jun 2011 15:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://lostechies.com/joshuaflanagan/2011/06/24/how-to-use-a-tool-installed-by-nuget-in-your-build-scripts/#comment-182</guid>
		<description>top-of-my-head powershell version, save as nunit.ps1 in root directory
$filename = $args[0]$scriptDir = [System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition)$packagesDir = Join-Path $scriptDir &quot;sourcepackages&quot;$exePath = dir $packagesDir -recurse &#124; where { $_.PSIsContainer -eq $false -and $_.Name -eq $filename } &#124; foreach { $_.FullName } &#124; sort -descending &#124; select -first 1$argString = &quot;&quot;for($count = 1; $count -lt $args.Length; $count++){    $argString = $argString + $args[$count]}$cmdline = $exePath + &quot; &quot; + $argStringInvoke-Expression $cmdline

Then your build can call powershell.exe full-path-to-nunit.ps1 nunit-console.exe arg1 arg2 arg3 &#039;`&quot;arg with spaces`&quot;&#039;
Probably a billion ways to do this. Thanks for occupying my Sunday morning :)</description>
		<content:encoded><![CDATA[<p>top-of-my-head powershell version, save as nunit.ps1 in root directory<br />
$filename = $args[0]$scriptDir = [System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition)$packagesDir = Join-Path $scriptDir &#8220;sourcepackages&#8221;$exePath = dir $packagesDir -recurse | where { $_.PSIsContainer -eq $false -and $_.Name -eq $filename } | foreach { $_.FullName } | sort -descending | select -first 1$argString = &#8220;&#8221;for($count = 1; $count -lt $args.Length; $count++){    $argString = $argString + $args[$count]}$cmdline = $exePath + &#8221; &#8221; + $argStringInvoke-Expression $cmdline</p>
<p>Then your build can call powershell.exe full-path-to-nunit.ps1 nunit-console.exe arg1 arg2 arg3 &#8216;`&#8221;arg with spaces`&#8221;&#8216;<br />
Probably a billion ways to do this. Thanks for occupying my Sunday morning :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
