title: c# .net core 2.1 system environment variable console application not loading
body: <p>I'm using c# .net core 2.1 CONSOLE application.  I can see the predefined system environment variables using: </p>
  
  <pre><code>configuration.GetValue&lt;string&gt;("TMP") 
  </code></pre>
  
  <p>However, when I create a new system variable it is not visible to the application.  </p>
  
  <p>If I hover over configuration I see the JsonConfigurationProvider and the EnvironmentVariablesConfigurationProvider, but the one's I created are not listed.</p>
  
  <p>For instance I created a new system environment variable on my machine named Database.  I figure I could call is using configuration.GetValue("Database")</p>
  
  <p>This is how I'm loading the configurations.</p>
  
  <pre><code>configuration = new ConfigurationBuilder()
                  .SetBasePath(Directory.GetCurrentDirectory())
                  .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
                  .AddEnvironmentVariables().Build();
  </code></pre>
  
  <p>Any sugguestions? Remember, I'm using a console application and not ASP.NET.</p>