title: How can I use a NuGet package to distribute an executable
body: <p>We have several non-.NET exes (e. g. PhantomJs) which we execute from our .NET web applications via the <code>Process</code> class.</p>
  
  <p>I'd like to wrap these exes into NuGet packages so that they can be reliably located in different environments (web apps, console apps, and unit tests) without having to pre-place each potentially required version in some magic location on the each machine.</p>
  
  <p>Is there a recommended approach for doing this in NuGet?</p>
  
  <p>One way that works but seems kind of clunky is to embed the EXE as a resource in a wrapper .NET dll, and then extract it to the file system at runtime. I'm wondering if there's a simpler approach.</p>