mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
avoid using AppDomains as they are unsupported by .net core
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using mRemoteNG.Themes;
|
||||
using System.Configuration;
|
||||
|
||||
namespace mRemoteNG.UI.Forms
|
||||
{
|
||||
@@ -129,7 +130,7 @@ namespace mRemoteNG.UI.Forms
|
||||
page.SaveSettings();
|
||||
}
|
||||
|
||||
Debug.WriteLine(AppDomain.CurrentDomain.SetupInformation.ConfigurationFile);
|
||||
Debug.WriteLine((ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)).FilePath);
|
||||
Settings.Default.Save();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user