title: Azure Function App - trying to publish to a v1 function app from v2 tooling
body: <p>I've created and successfully tested a Function App.
  It requires the .net Framework because of a legacy library, and is set to use run-time version ~1. Publishing directly from Visual Studio 2017 using the publishing profile works normally. However, attempting to publish with the Azure CLI is giving me grief.</p>
  
  <p>Following the MS article here:
  <a href="https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function-azure-cli" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-azure-function-azure-cli</a></p>
  
  <ul>
  <li>azure-cli v2.0.64 </li>
  <li>azure-functions-core-tools@2.7.1158  (npm)</li>
  <li>.NET Framework 4.8 DevPack</li>
  </ul>
  
  <pre><code>&gt;func azure functionapp publish &lt;myApp&gt;
  You're trying to publish to a v1 function app from v2 tooling.
  You can pass --force to force update the app to v2, or downgrade to v1 tooling for publishing
  </code></pre>
  
  <p>How can I downgrade my tools?</p>