Skip to content

Instantly share code, notes, and snippets.

View ScottWeinstein's full-sized avatar

scottw ScottWeinstein

  • NY
  • 10:13 (UTC -04:00)
View GitHub Profile
@ScottWeinstein
ScottWeinstein / gist:2015047
Created March 11, 2012 04:35 — forked from bradwilson/InlineTask.targets.xml
Inline MSBuild task to download NuGet.exe
<UsingTask TaskName="DownloadNuGet" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutputFilename ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.Core" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
<Using Namespace="System" />
<Using Namespace="System.IO" />