title: Is there a way to run EF Core RC2 tools from published DLL?
body: <p>After publishing a .Net Core RC1 application, commands specified in the project.json had corresponding .cmd files created for them which could be executed after deployment (e.g. web.cmd and ef.cmd). In my case, I want to run the following Entity Framework command on my deployment target:</p>
  
  <pre><code>dotnet ef database update -c MyContext
  </code></pre>
  
  <p>This works fine when I run this from the folder containing the source code, however after publishing, it doesn't appear to find the command within the compiled DLLs. My understanding of the change in commands with RC2 is that 'tools' can be compiled as standalone applications named dotnet-*.dll and can be executed via the CLI. How can the Entity Framework Core tools be exposed as executable DLLs in the published output?</p>
  
  <p>FYI, my build/deployment workflow is as follows:</p>
  
  <p><strong>TeamCity</strong></p>
  
  <p>dotnet restore => dotnet build => dotnet test => dotnet publish</p>
  
  <p><strong>Octopus Deploy</strong></p>
  
  <p>Upload Package => EF Update Database => etc</p>