title: Visual Studio 2022 System.Environment.GetEnvironmentVariable not working
body: <p>I know this is still in preview, but I just want to make sure I am not doing anything wrong as I have done things  like this in the past.  I have my Environment variables set in properties:
  <a href="https://i.stack.imgur.com/IrQII.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IrQII.png" alt="enter image description here" /></a></p>
  <p>And I am trying to set up my tests:</p>
  <pre><code>[TestInitialize]
  public void Initialize()
  {
      var test = Environment.GetEnvironmentVariables();
      // test enumerates all the Env variables, don't see it there
      var connectionString = Environment.GetEnvironmentVariable(&quot;CONNECTION_STRING&quot;);
      if (string.IsNullOrWhiteSpace(connectionString)) // so this is obviously null
          throw new ArgumentNullException(&quot;CONNECTION_STRING&quot;);
      _ConnectionString = connectionString;
  }
  </code></pre>
  <p>As you can see by my comments, the environment variables are not found/loaded.</p>
  <p>What am I missing? Thank you.</p>