Environment.CurrentDirectory Does Not Return Any Value

How to resolve when Environment.CurrentDirectory returns empty string and no value?

  • Install/update .Net Framework as needed for specific version of Studio. Example - if Studio 2019.10 is used, the machine need to have .at least .Net Framework version 4.6.1.
  • Restart the machine to make sure changes go in effect