title: Azure Function - Get Environment Variable Returns Null
body: <p>I'm trying to test an Azure Function locally but all of my environment variables are returning null. At some point I did delete and add back the local.settings.json file which I believe is the cause of the problem. I have set the &quot;Copy to Output Directory&quot; property on the local.settings.json file to &quot;Copy if newer&quot; but I am still facing this issue. Below is an example of the code that I am running that is returning null. Has anyone found a solution to this problem?</p>
  <pre><code>string myURI = Environment.GetEnvironmentVariable(&quot;myURI&quot;, EnvironmentVariableTarget.Process);
  </code></pre>