.net core includes the AppDomain class for compatibility with older code, but did not implement its isolation features. In core there is only the .Current domain (one domain).
if new code you should use AppContext.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
How i get the running exe path of maui app in NET 8?
Thanks,
In run time in code? AppContext.BaseDirectory? or AppDomain.CurrentDomain.BaseDirectory?
I got:
D:\Applications\GssdDesktopClient\GssdDesktopClient.Maui\bin\Debug\net8.0-windows10.0.19041.0\win10-x64AppX\
.net core includes the AppDomain class for compatibility with older code, but did not implement its isolation features. In core there is only the .Current domain (one domain).
if new code you should use AppContext.